上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 79 下一页
摘要: package LeetCode_24 /** * 24. Swap Nodes in Pairs * https://leetcode.com/problems/swap-nodes-in-pairs/description/ * * Given a linked list, swap every 阅读全文
posted @ 2020-09-08 11:42 johnny_zhao 阅读(146) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_877 /** * 877. Stone Game * https://leetcode.com/problems/stone-game/description/ * * Alex and Lee play a game with piles of stones. 阅读全文
posted @ 2020-09-07 23:28 johnny_zhao 阅读(181) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_163 /** * 163. Missing Ranges * (Prime) *Given a sorted integer array nums, where the range of elements are in the inclusive range [l 阅读全文
posted @ 2020-09-07 12:15 johnny_zhao 阅读(99) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_228 /** * 228. Summary Ranges * https://leetcode.com/problems/summary-ranges/description/ * Given a sorted integer array without dupl 阅读全文
posted @ 2020-09-06 15:22 johnny_zhao 阅读(101) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_381 /** * 381. Insert Delete GetRandom O(1) - Duplicates allowed * https://leetcode.com/problems/insert-delete-getrandom-o1-duplicate 阅读全文
posted @ 2020-09-06 12:16 johnny_zhao 阅读(89) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_118 import java.util.* /** * 118. Pascal's Triangle * https://leetcode.com/problems/pascals-triangle/description/ * Given a non-negat 阅读全文
posted @ 2020-09-05 23:51 johnny_zhao 阅读(100) 评论(0) 推荐(0) 编辑
摘要: /** * This problem was asked by Facebook. Given a multiset of integers, return whether it can be partitioned into two subsets whose sums are the same. 阅读全文
posted @ 2020-09-05 23:22 johnny_zhao 阅读(141) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_62 /** * 62. Unique Paths * https://leetcode.com/problems/unique-paths/description/ * * A robot is located at the top-left corner of 阅读全文
posted @ 2020-09-04 23:16 johnny_zhao 阅读(103) 评论(0) 推荐(0) 编辑
摘要: package _interview_question /** * Given an array of integers size 'n' Our aim is to calculate the maximum sum of 'k' consecutive elements in the array 阅读全文
posted @ 2020-09-03 22:54 johnny_zhao 阅读(75) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_516 /** * 516. Longest Palindromic Subsequence * https://leetcode.com/problems/longest-palindromic-subsequence/description/ * * Given 阅读全文
posted @ 2020-09-03 00:24 johnny_zhao 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 79 下一页