摘要:
#题目简述:Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are fille... 阅读全文
摘要:
#题目简述:Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".#解题思路: class Solution: # @pa... 阅读全文
摘要:
#题目简述Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, return 1->2.Given 1->1->2->3... 阅读全文
摘要:
#题目描述Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or ... 阅读全文
摘要:
#题目简述Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last ... 阅读全文
摘要:
#题目简述The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed ... 阅读全文