摘要:
Jump Game III (M) 题目 Given an array of non-negative integers arr, you are initially positioned at start index of the array. When you are at index i, y 阅读全文
摘要:
Sliding Window Maximum (H) 题目 You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the a 阅读全文
摘要:
Partition Equal Subset Sum (M) 题目 Given a non-empty array nums containing only positive integers, find if the array can be partitioned into two subset 阅读全文
摘要:
Longest Substring with At Least K Repeating Characters (M) 题目 Given a string s and an integer k, return the length of the longest substring of s such 阅读全文
摘要:
Smallest Integer Divisible by K (M) 题目 Given a positive integer K, you need to find the length of the smallest positive integer N such that N is divis 阅读全文
摘要:
Basic Calculator II (M) 题目 Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integ 阅读全文
摘要:
House Robber III (M) 题目 The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Be 阅读全文
摘要:
Unique Morse Code Words (E) 题目 International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as fol 阅读全文
摘要:
Numbers At Most N Given Digit Set (H) 题目 Given an array of digits, you can write numbers using each digits[i] as many times as we want. For example, i 阅读全文
摘要:
Search in Rotated Sorted Array II (M) 题目 Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,0,1, 阅读全文