![240](https://cdn2.jianshu.io/assets/default_avatar/3-9a2bcc21a5d89e21dafc73b39dc5f582.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
題目 Implement an iterator over a binary search tree (BST). Your iterator ...
題目 Given an integer n, return the number of trailing zeroes in n!. Note:...
題目 Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1...
題目 Sort a linked list in O(n log n) time using constant space complexity...
題目 Sort a linked list using insertion sort. 思路 這道題花費了最多的時間限嫌。 復(fù)習(xí)了array的插入排...
題目 Design a stack that supports push, pop, top, and retrieving the minim...
題目: There are N students in a class. Some of them are friends, while som...
題目 Given a non-empty string s and a dictionary wordDict containing a lis...
題目: A linked list is given such that each node contains an additional ra...