Category: c / c++
You are given a list of unique integers nums. Return a sorted two dimensional list of integers where each list represents an inclusive interval summarizing integers that are contiguous …
Given an array of intervals where intervals = , merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input. …
Given a string s consisting only of A and B, return the minimum number of letters that need to be deleted from s to get all occurrences of As …
You are given a string s containing digits from “0” to “9” and lowercase alphabet characters. Return the sum of the numbers found in s. Constraints 1 ≤ n …
A sentence is a list of words that are separated by a single space with no leading or trailing spaces. Each of the words consists of only uppercase and …