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

2015年11月26日

摘要: 题目Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements.For ex... 阅读全文
posted @ 2015-11-26 13:50 Coding菌 阅读(97) 评论(0) 推荐(0) 编辑

2015年11月23日

摘要: 题目Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number m... 阅读全文
posted @ 2015-11-23 13:52 Coding菌 阅读(175) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given a pattern and a string str, find if str follows the same pattern.Here follow means a full match, such that there is a bijection betwe... 阅读全文
posted @ 2015-11-23 13:33 Coding菌 阅读(151) 评论(0) 推荐(0) 编辑

2015年11月21日

摘要: 题目Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All ... 阅读全文
posted @ 2015-11-21 15:44 Coding菌 阅读(135) 评论(0) 推荐(0) 编辑

2015年11月20日

摘要: 题目Given a range [m, n] where 0 >= 1; n >>= 1; offset++; } return 0; }};GitHub测试程序源码 阅读全文
posted @ 2015-11-20 13:50 Coding菌 阅读(207) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given a 2d grid map of ‘1’s (land) and ‘0’s (water), count the number of islands. An island is surrounded by water and is formed by connect... 阅读全文
posted @ 2015-11-20 13:21 Coding菌 阅读(121) 评论(0) 推荐(0) 编辑

2015年11月19日

摘要: 题目Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] a... 阅读全文
posted @ 2015-11-19 14:03 Coding菌 阅读(105) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[... 阅读全文
posted @ 2015-11-19 13:36 Coding菌 阅读(111) 评论(0) 推荐(0) 编辑

2015年11月18日

摘要: 原文网址//helloworld.cpp#include #include int main(int argc,char *argv[]){ QApplication app(argc,argv); QPushButton btn("hello world!"); ... 阅读全文
posted @ 2015-11-18 19:23 Coding菌 阅读(3371) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given a sorted integer array without duplicates, return the summary of its ranges.For example, given [0,1,2,4,5,7], return [“0->2”,”4->5”,”... 阅读全文
posted @ 2015-11-18 15:28 Coding菌 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页