- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 Leetcode - Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the
2016-10-17 16:36:44 821
原创 Leetcode - Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Fin
2016-10-17 15:16:22 824
原创 Leetcode - Roman to Integer
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.这个程序类似int romanToInt(string s) { string symbols[] = { "M", "CM", "D", "C
2016-10-14 21:36:28 794
原创 Leetcode - Integer to Roman
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999. 可以在网上自行搜索一下罗马数字的编码规则。string intToRoman(int num) { string symbols[] = {
2016-10-14 21:02:24 850
消息驱动系统实现模型
2011-12-29
带有保存SSH登录 密码的 Putty
2008-05-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人