小小程序媛  
得之坦然,失之淡然,顺其自然,争其必然
上一页 1 2 3 4 5 6 7 ··· 34 下一页

2015年12月15日

摘要: 题目Implement wildcard pattern matching with support for ‘?’ and ‘*’.‘?’ Matches any single character. ‘*’ Matches any sequence of characters (... 阅读全文
posted @ 2015-12-15 14:51 Coding菌 阅读(175) 评论(0) 推荐(0) 编辑
 
摘要: 题目Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.分析合并k个有序链表。我们从数据结构的链表章节学会了如何合并两个链表,针对此题,一... 阅读全文
posted @ 2015-12-15 13:44 Coding菌 阅读(113) 评论(0) 推荐(0) 编辑

2015年12月14日

摘要: 题目Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one un... 阅读全文
posted @ 2015-12-14 13:51 Coding菌 阅读(154) 评论(0) 推荐(0) 编辑

2015年12月12日

摘要: 题目Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.The update(i, val) function modifies n... 阅读全文
posted @ 2015-12-12 17:21 Coding菌 阅读(128) 评论(0) 推荐(0) 编辑
 
摘要: 题目Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except... 阅读全文
posted @ 2015-12-12 16:56 Coding菌 阅读(199) 评论(0) 推荐(0) 编辑

2015年12月9日

摘要: 题目Implement a basic calculator to evaluate a simple expression string.The expression string may contain open ( and closing parentheses ), the... 阅读全文
posted @ 2015-12-09 14:00 Coding菌 阅读(173) 评论(0) 推荐(0) 编辑

2015年12月8日

摘要: 题目Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct elemen... 阅读全文
posted @ 2015-12-08 13:54 Coding菌 阅读(129) 评论(0) 推荐(0) 编辑
 
摘要: 题目Implement the following operations of a stack using queues.push(x) – Push element x onto stack. pop() – Removes the element on top of the s... 阅读全文
posted @ 2015-12-08 13:15 Coding菌 阅读(122) 评论(0) 推荐(0) 编辑

2015年12月7日

摘要: 题目Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is... 阅读全文
posted @ 2015-12-07 15:02 Coding菌 阅读(136) 评论(0) 推荐(0) 编辑
 
摘要: 题目Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Calling next() will re... 阅读全文
posted @ 2015-12-07 13:22 Coding菌 阅读(716) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 34 下一页