2000道Java版LeetCode题解 - 阅读指南

LeetCode 刷题目录

01、 400. Nth Digit 第 N 位数字
02、 401. Binary Watch 二进制手表
03、 402. Remove K Digits 移掉 K 位数字
04、 404. Sum of Left Leaves 左叶子之和
05、 405. Convert a Number to Hexadecimal 数字转换为十六进制数
06、 406. Queue Reconstruction by Height 根据身高重建队列
07、 408. Valid Word Abbreviation 有效单词缩写
08、 409. Longest Palindrome 最长回文串
09、 412. Fizz Buzz Fizz Buzz
10、 413. Arithmetic Slices 等差数列划分
11、 414. Third Maximum Number 第三大的数
12、 415. Add Strings 字符串相加
13、 416. Partition Equal Subset Sum 分割等和子集
14、 417. Pacific Atlantic Water Flow 太平洋大西洋水流问题
15、 419. Battleships in a Board 甲板上的战舰
16、 421. Maximum XOR of Two Numbers in an Array 数组中两个数的最大异或值
17、 422. Valid Word Square 有效的单词方块
18、 423. Reconstruct Original Digits from English 从英文中重建数字
19、 424. Longest Repeating Character Replacement 替换后的最长重复字符
20、 426. Convert Binary Search Tree to Sorted Doubly Linked List 将二叉搜索树转化为排序的双向链表
21、 427. Construct Quad Tree 建立四叉树
22、 429. N-ary Tree Level Order Traversal N 叉树的层序遍历
23、 430. Flatten a Multilevel Doubly Linked List 扁平化多级双向链表
24、 433. Minimum Genetic Mutation 最小基因变化
25、 434. Number of Segments in a String 字符串中的单词数
26、 435. Non-overlapping Intervals 无重叠区间
27、 436. Find Right Interval 寻找右区间
28、 437. Path Sum III 路径总和 III
29、 438. Find All Anagrams in a String 找到字符串中所有字母异位词
30、 441. Arranging Coins 排列硬币
31、 442. Find All Duplicates in an Array 数组中重复的数据
32、 443. String Compression 压缩字符串
33、 445. Add Two Numbers II 两数相加 II
34、 447. Number of Boomerangs 回旋镖的数量
35、 448. Find All Numbers Disappeared in an Array 找到所有数组中消失的数字
36、 449. Serialize and Deserialize BST 序列化和反序列化二叉搜索树