摘要:
Given a sorted integer array without duplicates, return the summary of its ranges. Example 1: Example 2: 题目标签:Array 题目给了我们一个nums array, 让我们找出它的区间总结。 这 阅读全文
摘要:
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the 阅读全文
摘要:
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr 阅读全文
摘要:
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be 阅读全文