摘要:
Complement of Base 10 Integer (E) 题目 Every non-negative integer N has a binary representation. For example, 5 can be represented as "101" in binary, 1 阅读全文
摘要:
Remove Covered Intervals (M) 题目 Given a list of intervals, remove all intervals that are covered by another interval in the list. Interval [a,b) is co 阅读全文
摘要:
K-diff Pairs in an Array (M) 题目 Given an array of integers nums and an integer k, return the number of unique k-diff pairs in the array. A k-diff pair 阅读全文
摘要:
Number of Recent Calls (E) 题目 You have a RecentCounter class which counts the number of recent requests within a certain time frame. Implement the Rec 阅读全文
摘要:
Word Break (M) 题目 Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a sp 阅读全文
摘要:
Subarray Product Less Than K (M) 题目 Your are given an array of positive integers nums. Count and print the number of (contiguous) subarrays where the 阅读全文
摘要:
Evaluate Division (M) 题目 You are given equations in the format A / B = k, where A and B are variables represented as strings, and k is a real number ( 阅读全文
摘要:
Teemo Attacking (M) 题目 In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the T 阅读全文
摘要:
Largest Number (M) 题目 Given a list of non negative integers, arrange them such that they form the largest number. Example 1: Input: [10,2] Output: "21 阅读全文
摘要:
Find the Difference (E) 题目 Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and t 阅读全文