Premiumlab  

2017年6月4日

摘要: https://leetcode.com/problems/reverse-linked-list/#/description Reverse a singly linked list. Hint: A linked list can be reversed either iteratively o 阅读全文
posted @ 2017-06-04 21:02 Premiumlab 阅读(104) 评论(0) 推荐(0) 编辑
 
摘要: https://github.com/Premiumlab/Python-for-Algorithms--Data-Structures--and-Interviews/blob/master/Linked%20Lists/Linked%20Lists%20Interview%20Problems/ 阅读全文
posted @ 2017-06-04 19:12 Premiumlab 阅读(157) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/problems/best-time-to-buy-and-sell-stock/#/solutions Say you have an array for which the ith element is the price of a given stoc 阅读全文
posted @ 2017-06-04 17:27 Premiumlab 阅读(132) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/problems/read-n-characters-given-read4/#/description The API: int read4(char *buf) reads 4 characters at a time from a file. The 阅读全文
posted @ 2017-06-04 09:18 Premiumlab 阅读(170) 评论(0) 推荐(0) 编辑