上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 79 下一页
摘要: package LeetCode_382 import java.util.* /** * 382. Linked List Random Node *https://leetcode.com/problems/linked-list-random-node/ * * Given a singly 阅读全文
posted @ 2020-10-25 14:28 johnny_zhao 阅读(53) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_717 /** * 717. 1-bit and 2-bit Characters * https://leetcode.com/problems/1-bit-and-2-bit-characters/ * * We have two special charact 阅读全文
posted @ 2020-10-24 11:34 johnny_zhao 阅读(69) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_1389 /** * 1389. Create Target Array in the Given Order *https://leetcode.com/problems/create-target-array-in-the-given-order/ * * Gi 阅读全文
posted @ 2020-10-24 10:45 johnny_zhao 阅读(76) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_14 /** * 14. Longest Common Prefix * https://leetcode.com/problems/longest-common-prefix/ * * Write a function to find the longest co 阅读全文
posted @ 2020-10-22 21:09 johnny_zhao 阅读(36) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_752 import java.util.* import kotlin.collections.HashSet /** * 752. Open the Lock * https://leetcode.com/problems/open-the-lock/ * * 阅读全文
posted @ 2020-10-22 20:30 johnny_zhao 阅读(86) 评论(0) 推荐(0) 编辑
摘要: /** * This problem was asked by Yahoo. * Write a function that returns the bitwise AND of all integers between M and N, inclusive. * */ class Problem_ 阅读全文
posted @ 2020-10-22 15:10 johnny_zhao 阅读(43) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_149 /** * 149. Max Points on a Line * https://leetcode.com/problems/max-points-on-a-line/ * * Given n points on a 2D plane, find the 阅读全文
posted @ 2020-10-21 16:03 johnny_zhao 阅读(89) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_257 /** * 257. Binary Tree Paths * https://leetcode.com/problems/binary-tree-paths/ * Given a binary tree, return all root-to-leaf pa 阅读全文
posted @ 2020-10-21 12:38 johnny_zhao 阅读(83) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_6 /** * 6. ZigZag Conversion * https://leetcode.com/problems/zigzag-conversion/ * The string "PAYPALISHIRING" is written in a zigzag 阅读全文
posted @ 2020-10-20 17:35 johnny_zhao 阅读(74) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_347 import kotlin.collections.ArrayList import kotlin.collections.HashMap /** * 347. Top K Frequent Elements * https://leetcode.com/p 阅读全文
posted @ 2020-10-20 16:06 johnny_zhao 阅读(130) 评论(0) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 79 下一页