58.Length of Last Word Given a string s consists of upp […]
Reverse String–LeetCode#344
344.Reverse String Write a function that takes a string […]
Distribute Candies–LeetCode#575
575.Distribute Candies Given an integer array with even […]
Fizz Buzz–LeetCode#412
412.Fizz Buzz Write a program that outputs the string r […]
Reverse Words in a String–LeetCode#151
151.Reverse Words in a String Given an input string, re […]
Battleships in a Board–LeetCode#419
419.Battleships in a Board Given an 2D board, count how […]
Java int与Integer的区别
int是基本数据类型; Integer是int的包装类,是一个类。 例如 /** * Created by P […]
Array Partition I–LeetCode#561
561.Array Partition I Given an array of 2n integers, yo […]
Merge Two Binary Trees–LeetCode#617
617.Merge Two Binary Trees Given two binary trees and i […]
Hamming Distance–LeetCode#461
461.Longest Common Prefix The Hamming distance between […]