摘要:
1861. Rotating the Box Medium You are given an m x n matrix of characters box representing a side-view of a box. Each cell of the box is one of the fo 阅读全文
摘要:
341. Flatten Nested List Iterator Medium 29571025Add to ListShare You are given a nested list of integers nestedList. Each element is either an intege 阅读全文
摘要:
53. Maximum Subarray Easy Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and ret 阅读全文
摘要:
295. Find Median from Data Stream Hard 6150114Add to ListShare The median is the middle value in an ordered integer list. If the size of the list is e 阅读全文
摘要:
198. House Robber Medium 10797236Add to ListShare You are a professional robber planning to rob houses along a street. Each house has a certain amount 阅读全文
摘要:
399. Evaluate Division Medium You are given an array of variable pairs equations and an array of real numbers values, where equations[i] = [Ai, Bi] an 阅读全文
摘要:
composition vs inheritance composition mean A has B or A contains B. (A has a property whose type is B) inheritance mean A is B. (A extend B) 优缺点对比: c 阅读全文
摘要:
269. Alien Dictionary There is a new alien language that uses the English alphabet. However, the order among the letters is unknown to you. You are gi 阅读全文
摘要:
Longest common subarray in the given two arrays Given two arrays A[] and B[] of N and M integers respectively, the task is to find the maximum length 阅读全文