小小程序媛 |
|
||
得之坦然,失之淡然,顺其自然,争其必然 |
2015年12月15日
摘要:
题目Implement wildcard pattern matching with support for ‘?’ and ‘*’.‘?’ Matches any single character. ‘*’ Matches any sequence of characters (... 阅读全文
摘要:
题目Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.分析合并k个有序链表。我们从数据结构的链表章节学会了如何合并两个链表,针对此题,一... 阅读全文
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... 阅读全文
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... 阅读全文
摘要:
题目Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except... 阅读全文
2015年12月9日
摘要:
题目Implement a basic calculator to evaluate a simple expression string.The expression string may contain open ( and closing parentheses ), the... 阅读全文
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... 阅读全文
摘要:
题目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... 阅读全文
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... 阅读全文
摘要:
题目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... 阅读全文
|
Copyright © 2024 Coding菌
Powered by .NET 9.0 on Kubernetes |