Tony's Log

Algorithms, Distributed System, Machine Learning

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年7月10日

摘要: A typical bucketing strategy, but it is probably the most complex one..Basically I refer tothissubmission. 阅读全文
posted @ 2015-07-10 13:16 Tonix 阅读(298) 评论(0) 推荐(0)

摘要: O(n) time O(n) space solution using stack:class Solution {public: bool isPalindrome(ListNode* head) { if (!head || !head->next) return t... 阅读全文
posted @ 2015-07-10 10:13 Tonix 阅读(135) 评论(0) 推荐(0)