Category: c / c++
Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Input: nums = Output: 2 Explanation: 12 contains 2 digits …
The combination algorithm returns the sequence for a list or string without considering the order. For example, the Combination of string “abc” with two characters would be “ab”, “ac” …
An integer has sequential digits if and only if each digit in the number is one more than the previous digit. Return a sorted list of all the integers …
Given a list of intervals, remove all intervals that are covered by another interval in the list. Interval ,,] Output: 2 Explanation: Interval is covered by , therefore it …
Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds …