码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
C++ Design Pattern: What is a Design Pattern?
Q: What is a Design Pattern?A: Design Patterns represent solutions to problems what arise when developing software within a particular context. ...
分类:编程语言   时间:2015-05-07 21:50:15    阅读次数:187
Design Patterns Example Code (in C++)
OverviewDesign patterns are ways to reuse design solutions that other software developers have created for common and recurring problems. The design p...
分类:编程语言   时间:2015-05-07 21:48:03    阅读次数:178
Reverse Words in a String
https://leetcode.com/problems/reverse-words-in-a-string/Given an input string, reverse the string word by word.For example,Given s = "the sky is blue"...
分类:其他好文   时间:2015-05-07 20:19:27    阅读次数:106
3Sum
https://leetcode.com/problems/3sum/Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array whic...
分类:其他好文   时间:2015-05-07 14:09:06    阅读次数:141
Single Number II
https://leetcode.com/problems/single-number-ii/https://leetcode.com/discuss/6632/challenge-me-thxGiven an array of integers, every element appearsthre...
分类:其他好文   时间:2015-05-07 12:20:47    阅读次数:133
MongoDB numa系列问题二:WARNING: You are running on a NUMA machine.
1:Mongod日志warning:mongodb日志显示如下:WARNING: You are running on a NUMA machine.We suggest launching mongod like this to avoid performance problems:numactl...
分类:数据库   时间:2015-05-07 12:08:06    阅读次数:825
Install Me
Install MeMarcus Bakeri AM NOT THE SLiGHTEST BiT iNTERESTED iN YOUR PROGRAM. I am surrounded by problems and have a to-do list as long as my arm. The only reason I am at your website right now is beca...
分类:其他好文   时间:2015-05-07 10:33:37    阅读次数:138
[Leetcode][021] Merge Two Sorted Lists (Java)
题目在这里:https://leetcode.com/problems/merge-two-sorted-lists/【标签】Linked List【题目分析】这个题目就是merge sort在 Linked List中的变形。不多说,直接上代码了 1 public ListNode merge.....
分类:编程语言   时间:2015-05-07 07:33:44    阅读次数:181
[Leetcode][020] Valid Parentheses (Java)
题目在这里:https://leetcode.com/problems/valid-parentheses/【标签】Stack; String【个人分析】这个题应该算是Stack的经典应用。先进后出 ( FILO) 的结构: 先来的左边括号跟后面的右边括号相匹配。【代码解释】创建一个栈,如果遇到的是...
分类:编程语言   时间:2015-05-07 06:26:27    阅读次数:161
[Leetcode][150]Evaluate Reverse Polish Notation (Java)
题目在这里:https://leetcode.com/problems/evaluate-reverse-polish-notation/【标签】Stack【题目分析】思路就不多说了吧,大概就是,遇到数字这样的operand, 就先压到栈里面;遇到 +, -, *, / 的话,就可以进行局部的运算了...
分类:编程语言   时间:2015-05-07 06:25:27    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!