本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss
摘要: 最近在准备找工作的算法题,刷刷LeetCode,以下是我的解题报告索引,每一题几乎都有详细的说明,供各位码农参考。根据我自己做的进度持续更新中...... 本文地址LeetCode:Reverse Words in a StringLeetCode:Evaluate Reverse Polish N... 阅读全文
posted @ 2013-11-20 23:09 tenos 阅读(9975) 评论(0) 推荐(0) 编辑
摘要: 题目如下:(题目链接)Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a ... 阅读全文
posted @ 2013-11-20 23:02 tenos 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 题目如下:(题目链接)Sort a linked list inO(nlogn) time using constant space complexity.在上一题中使用了插入排序,时间复杂度为O(n^2)。nlogn的排序有快速排序、归并排序、堆排序。双向链表用快排比较适合,堆排序也可以用于链表,... 阅读全文
posted @ 2013-11-20 22:54 tenos 阅读(6349) 评论(4) 推荐(1) 编辑

本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss

公益页面-寻找遗失儿童