上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 40 下一页
摘要: 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 阅读全文
posted @ 2020-10-05 20:18 墨云黑 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-10-04 23:12 墨云黑 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-10-03 16:10 墨云黑 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-10-01 15:30 墨云黑 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-09-29 17:08 墨云黑 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-09-28 22:55 墨云黑 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 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 ( 阅读全文
posted @ 2020-09-28 13:13 墨云黑 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-09-26 23:50 墨云黑 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-09-25 23:25 墨云黑 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-09-24 20:55 墨云黑 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 40 下一页