摘要:
https://leetcode.com/problems/game-of-life/According to theWikipedia's article: "TheGame of Life, also known simply asLife, is a cellular automaton de... 阅读全文
摘要:
https://leetcode.com/problems/decode-ways/A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2... 阅读全文
摘要:
https://leetcode.com/problems/text-justification/Given an array of words and a lengthL, format the text such that each line has exactlyLcharacters and... 阅读全文
摘要:
https://leetcode.com/problems/isomorphic-strings/Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters... 阅读全文
摘要:
https://leetcode.com/problems/h-index/Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compu... 阅读全文
摘要:
https://leetcode.com/problems/dungeon-game/The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The du... 阅读全文
摘要:
下面请一字一句地看,一遍就设置成功,比你设置几十遍失败,费时会少得多。首先,在连接数据库之前必须保证SQL Server 2012是采用SQL Server身份验证方式而不是windows身份验证方式。如果在安装时选用了后者,则重新设置如下:http://blog.163.com/jackie_ho... 阅读全文
摘要:
https://leetcode.com/problems/interleaving-string/Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1="aabcc",s2... 阅读全文
摘要:
https://leetcode.com/problems/palindrome-partitioning/Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all... 阅读全文
摘要:
https://leetcode.com/problems/ugly-number/Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose pr... 阅读全文