摘要: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 墨云黑 阅读(7) 评论(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 墨云黑 阅读(13) 评论(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 墨云黑 阅读(11) 评论(0) 推荐(0) 编辑
摘要:Gas Station (M) 题目 There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited g 阅读全文
posted @ 2020-09-24 10:21 墨云黑 阅读(9) 评论(0) 推荐(0) 编辑
摘要:Majority Element II (M) 题目 Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. Note: The algorithm should run in 阅读全文
posted @ 2020-09-22 21:45 墨云黑 阅读(15) 评论(0) 推荐(0) 编辑
摘要:Car Pooling (M) 题目 You are driving a vehicle that has capacity empty seats initially available for passengers. The vehicle only drives east (ie. it ca 阅读全文
posted @ 2020-09-21 22:21 墨云黑 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Unique Paths III (H) 题目 On a 2-dimensional grid, there are 4 types of squares: 1 represents the starting square. There is exactly one starting square. 阅读全文
posted @ 2020-09-20 21:46 墨云黑 阅读(12) 评论(0) 推荐(0) 编辑
摘要:Sequential Digits (M) 题目 An integer has sequential digits if and only if each digit in the number is one more than the previous digit. Return a sorted 阅读全文
posted @ 2020-09-19 22:11 墨云黑 阅读(21) 评论(0) 推荐(0) 编辑
摘要:Best Time to Buy and Sell Stock (E) 题目 Say you have an array for which the \(i^{th}\) element is the price of a given stock on day i. If you were only 阅读全文
posted @ 2020-09-18 16:56 墨云黑 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Robot Bounded In Circle (M) 题目 On an infinite plane, a robot initially stands at (0, 0) and faces north. The robot can receive one of three instructio 阅读全文
posted @ 2020-09-17 21:04 墨云黑 阅读(27) 评论(0) 推荐(0) 编辑