摘要: package LeetCode_670 /** * 670. Maximum Swap * https://leetcode.com/problems/maximum-swap/description/ * * Given a non-negative integer, you could swa 阅读全文
posted @ 2020-11-07 23:17 johnny_zhao 阅读(98) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_662 import java.util.* import kotlin.collections.ArrayList /** * 662. Maximum Width of Binary Tree * https://leetcode.com/problems/ma 阅读全文
posted @ 2020-11-07 17:17 johnny_zhao 阅读(89) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_170 import java.util.* /** * 170. Two Sum III - Data structure design * (Prime) * Design and implement a TwoSum class. It should supp 阅读全文
posted @ 2020-11-07 11:35 johnny_zhao 阅读(82) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_653 /** * 653. Two Sum IV - Input is a BST * https://leetcode.com/problems/two-sum-iv-input-is-a-bst/ * * Given the root of a Binary 阅读全文
posted @ 2020-11-07 10:55 johnny_zhao 阅读(51) 评论(0) 推荐(0) 编辑