摘要:
500.Keyboard Row & 557.Reverse Words in a String III 500.Keyboard Row Given a List of words, return the words that can be typed using letters of alpha 阅读全文
摘要:
Week3 397. Integer Replacement 397.Integer Replacement Medium Given a positive integer n and you can do operations as follow: 1.If n is even, replace 阅读全文
摘要:
Week2 669. Trim a Binary Search Tree & 617. Merge Two Binary Trees 669.Trim a Binary Search Tree Given a binary search tree and the lowest and highest 阅读全文
摘要:
这周刚开始讲了一点Divide and Conquer的算法,于是这周的作业就选择在LeetCode上找分治法相关的题目来做。 169.Majority Element Given an array of size n, find the majority element. The majority 阅读全文