摘要:
有待总结。 Binary Search: 633, Sum of Square Numbers 475, Heaters 744, Find Smallest Letter Greater than target(LC submissions from original session) 427?? 阅读全文
阅读排行榜
[LeetCode] 10. Regular Expression Matching_Hard tag: backtracking, DP
2021-06-07 20:22 by Johnson_强生仔仔, 70 阅读, 收藏,
摘要:
Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*' where: '.' Matches any single characte 阅读全文
[LeetCode] 347. Top K Frequent Elements_Medium tag: Array, Heap, quickSort
2021-06-28 09:51 by Johnson_强生仔仔, 65 阅读, 收藏,
摘要:
Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order. Example 1: Input: nums = [1 阅读全文
Data structure - Sort & quick sort 小结及leetcode相关题目
2023-10-21 02:48 by Johnson_强生仔仔, 64 阅读, 收藏,
摘要:
Sort 主要有以下几种常见的sort, 面试中最有可能考的是quick sort, 关于k largest or 什么相关的。 Bubble sort Insertion sort Merge sort Quicksort Selection sort Counting sort Bucket s 阅读全文
[LeetCode] 975. Odd Even Jump_Hard tag: stack, dynamic programming
2021-08-04 10:52 by Johnson_强生仔仔, 57 阅读, 收藏,
摘要:
You are given an integer array arr. From some starting index, you can make a series of jumps. The (1st, 3rd, 5th, ...) jumps in the series are called 阅读全文
浙公网安备 33010602011771号