上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 79 下一页
摘要: 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 阅读(84) 评论(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 阅读(77) 评论(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 阅读(131) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_409 /** * 409. Longest Palindrome * https://leetcode.com/problems/longest-palindrome/ * * Given a string s which consists of lowercas 阅读全文
posted @ 2020-10-20 11:13 johnny_zhao 阅读(69) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_556 /** * 556. Next Greater Element III * https://leetcode.com/problems/next-greater-element-iii/description/ * Given a positive 32-b 阅读全文
posted @ 2020-10-19 21:11 johnny_zhao 阅读(57) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_186 /** * 186. Reverse Words in a String II * (Prime) * Given an input string , reverse the string word by word. Example: Input: ["t" 阅读全文
posted @ 2020-10-17 23:57 johnny_zhao 阅读(70) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_151 /** * 151. Reverse Words in a String * https://leetcode.com/problems/reverse-words-in-a-string/ * * Given an input string s, reve 阅读全文
posted @ 2020-10-17 00:56 johnny_zhao 阅读(73) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_345 /** * 345. Reverse Vowels of a String * https://leetcode.com/problems/reverse-vowels-of-a-string/ * * Write a function that takes 阅读全文
posted @ 2020-10-17 00:05 johnny_zhao 阅读(50) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_344 /** * 344. Reverse String * https://leetcode.com/problems/reverse-string/ * Write a function that reverses a string. The input st 阅读全文
posted @ 2020-10-16 23:42 johnny_zhao 阅读(75) 评论(0) 推荐(0) 编辑
摘要: import java.util.* /** * This problem was asked by Facebook. Given a string and a set of delimiters, reverse the words in the string while maintaining 阅读全文
posted @ 2020-10-16 11:48 johnny_zhao 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 79 下一页