小小程序媛 |
|
||
得之坦然,失之淡然,顺其自然,争其必然 |
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... 阅读全文
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... 阅读全文
摘要:
题目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... 阅读全文
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 ... 阅读全文
2015年11月20日
摘要:
题目Given a range [m, n] where 0 >= 1; n >>= 1; offset++; } return 0; }};GitHub测试程序源码 阅读全文
摘要:
题目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... 阅读全文
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... 阅读全文
摘要:
题目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[... 阅读全文
2015年11月18日
摘要:
原文网址//helloworld.cpp#include #include int main(int argc,char *argv[]){ QApplication app(argc,argv); QPushButton btn("hello world!"); ... 阅读全文
摘要:
题目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”,”... 阅读全文
|
Copyright © 2024 Coding菌
Powered by .NET 9.0 on Kubernetes |