logoNEURAL COOK
SearchAll PostsTagsNotesAuthor
logoNEURAL COOK

A posts created with Next.js and Tailwind.css

Explore

  • All posts
  • Notes
  • Snippets
  • Tags
  • RSS feed

Connect

instagramtwitterfacebookyoutubelinkedinmailgithub

© 2026 VIKI. All rights reserved.

Built with
Contents
Java/JVM architectureJava Collections : A Complete Guide for DSAJava Object Anatomy: What lives in Memory?The Java Dev Environment That Just WorksJava Utility MethodUnderstanding the Servlet Ecosystem: From Tomcat to Micronaut
DNSHTTPIP AddressThe Comprehensive DNS Master Guide: Architecture, Protocol, and GovernanceThe OSI Reference Model: A Comprehensive GuideThe TCP/IP Stack: The Architecture of the Internet
LogsExamplesResources
Miscellaneous/others

Logs

6 min read
Question IdNameDifficultyTagsAttempted OnQuestion Link
1Two SumEasyMay 15, 2024https://leetcode.com/problems/two-sum/description/?envType=study-plan-v2&envId=top-interview-150
2Add Two NumbersMediumApril 11, 2024https://leetcode.com/problems/add-two-numbers/description/
3Longest Substring Without Repeating CharactersMediumMay 13, 2024https://leetcode.com/problems/longest-substring-without-repeating-characters/description/?envType=study-plan-v2&envId=top-interview-150
6Zigzag ConversionMediummathApril 21, 2024https://leetcode.com/problems/zigzag-conversion/description/
7Reverse IntegerMediummathApril 21, 2024https://leetcode.com/problems/reverse-integer/description/
11Container With Most WaterMediumarrays, two pointersMay 12, 2024https://leetcode.com/problems/container-with-most-water/submissions/1256048724/?envType=study-plan-v2&envId=top-interview-150
12Integer to RomanMediumApril 21, 2024https://leetcode.com/problems/integer-to-roman/description/
13Roman to IntegerEasyMay 8, 2024https://leetcode.com/problems/roman-to-integer/description/?envType=study-plan-v2&envId=top-interview-150
14Longest Common PrefixEasyMay 9, 2024https://leetcode.com/problems/longest-common-prefix/description/?envType=study-plan-v2&envId=top-interview-150
153SumMediumApril 26, 2024https://leetcode.com/problems/3sum/description/
163Sum ClosestMediumApril 26, 2024https://leetcode.com/problems/3sum-closest/description/
17Letter Combinations of a Phone NumberMediumMay 30, 2024https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/?envType=study-plan-v2&envId=top-interview-150
19Remove Nth Node From End of ListMediumMay 19, 2024https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/?envType=study-plan-v2&envId=top-interview-150
20Valid ParenthesesEasyMay 18, 2024https://leetcode.com/problems/valid-parentheses/description/?envType=study-plan-v2&envId=top-interview-150
21Merge Two Sorted ListsEasyMay 18, 2024https://leetcode.com/problems/merge-two-sorted-lists/description/?envType=study-plan-v2&envId=top-interview-150
22Generate ParenthesesMediumMay 30, 2024https://leetcode.com/problems/generate-parentheses/description/?envType=study-plan-v2&envId=top-interview-150
22Generate ParenthesesMediumApril 21, 2024https://leetcode.com/problems/generate-parentheses/description/
24Swap Nodes in PairsMediumlinked listApril 21, 2024https://leetcode.com/problems/swap-nodes-in-pairs/description/
26Remove Duplicates from Sorted ArrayEasyarraysApril 23, 2024https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/?envType=study-plan-v2&envId=top-interview-150
27Remove ElementEasyarraysApril 23, 2024https://leetcode.com/problems/remove-element/description/?envType=study-plan-v2&envId=top-interview-150
28Find the Index of the First Occurrence in a StringEasyarraysMay 9, 2024https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/description/?envType=study-plan-v2&envId=top-interview-150
36Valid SudokuMedium2d-arrayMay 14, 2024https://leetcode.com/problems/valid-sudoku/description/?envType=study-plan-v2&envId=top-interview-150
39Combination SumMediumMay 30, 2024https://leetcode.com/problems/combination-sum/description/?envType=study-plan-v2&envId=top-interview-150
42Trapping Rain WaterHardarraysMay 9, 2024https://leetcode.com/problems/trapping-rain-water/description/?envType=study-plan-v2&envId=top-interview-150
45Jump Game IIMediumMay 12, 2024https://leetcode.com/problems/jump-game-ii/description/?envType=study-plan-v2&envId=top-interview-150
46PermutationsMediumMay 30, 2024https://leetcode.com/problems/permutations/description/?envType=study-plan-v2&envId=top-interview-150
46PermutationsMediumApril 20, 2024https://leetcode.com/problems/permutations/description/
48Rotate ImageMedium2d-arrayMay 14, 2024https://leetcode.com/problems/rotate-image/description/?envType=study-plan-v2&envId=top-interview-150
49Group AnagramsMediumMay 15, 2024https://leetcode.com/problems/group-anagrams/description/?envType=study-plan-v2&envId=top-interview-150
54Spiral MatrixMedium2d-arrayMay 14, 2024https://leetcode.com/problems/spiral-matrix/description/?envType=study-plan-v2&envId=top-interview-150
55Jump GameMediumMay 4, 2024https://leetcode.com/problems/jump-game/description/?envType=study-plan-v2&envId=top-interview-150
56Merge IntervalsMediumMay 16, 2024https://leetcode.com/problems/merge-intervals/description/?envType=study-plan-v2&envId=top-interview-150
57Insert IntervalMediumMay 18, 2024https://leetcode.com/problems/insert-interval/description/?envType=study-plan-v2&envId=top-interview-150
58Length of Last WordEasyMay 9, 2024https://leetcode.com/problems/length-of-last-word/description/?envType=study-plan-v2&envId=top-interview-150
61Rotate ListMediumMay 19, 2024https://leetcode.com/problems/rotate-list/submissions/?envType=study-plan-v2&envId=top-interview-150
71Simplify PathMediumMay 18, 2024https://leetcode.com/problems/simplify-path/description/?envType=study-plan-v2&envId=top-interview-150
73Set Matrix ZeroesMedium2d-arrayMay 14, 2024https://leetcode.com/problems/set-matrix-zeroes/description/?envType=study-plan-v2&envId=top-interview-150
77CombinationsMediumMay 30, 2024https://leetcode.com/problems/combinations/description/?envType=study-plan-v2&envId=top-interview-150
80Remove Duplicates from Sorted Array IIMediumarraysApril 23, 2024https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/description/?envType=study-plan-v2&envId=top-interview-150
82Remove Duplicates from Sorted List IIMediumlinked listMay 19, 2024https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/description/?envType=study-plan-v2&envId=top-interview-150
86Partition ListMediumlinked listMay 19, 2024https://leetcode.com/problems/partition-list/submissions/1262097487/?envType=study-plan-v2&envId=top-interview-150
88Merge Sorted ArrayEasyarraysApril 23, 2024https://leetcode.com/problems/merge-sorted-array/description/?envType=study-plan-v2&envId=top-interview-150
92Reverse Linked List IIMediumlinked listMay 19, 2024https://leetcode.com/problems/reverse-linked-list-ii/description/?envType=study-plan-v2&envId=top-interview-150
100Same TreeEasybinary treeMay 19, 2024https://leetcode.com/problems/same-tree/description/?envType=study-plan-v2&envId=top-interview-150
101Symmetric TreeEasybinary treeMay 20, 2024https://leetcode.com/problems/symmetric-tree/description/?envType=study-plan-v2&envId=top-interview-150
102Binary Tree Level Order TraversalMediumbinary treeMay 23, 2024https://leetcode.com/problems/binary-tree-level-order-traversal/description/?envType=study-plan-v2&envId=top-interview-150
104Maximum Depth of Binary TreeEasybinary treeMay 19, 2024https://leetcode.com/problems/maximum-depth-of-binary-tree/submissions/?envType=study-plan-v2&envId=top-interview-150
105Construct Binary Tree from Preorder and In-order TraversalMediumbinary treeMay 20, 2024https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/description/?envType=study-plan-v2&envId=top-interview-150
112Path SumEasybinary treeMay 20, 2024https://leetcode.com/problems/path-sum/description/?envType=study-plan-v2&envId=top-interview-150
114Flatten Binary Tree to Linked ListMediumbinary treeMay 20, 2024https://leetcode.com/problems/flatten-binary-tree-to-linked-list/description/?envType=study-plan-v2&envId=top-interview-150
117Populating Next Right Pointers in Each Node IIMediumbinary treeMay 20, 2024https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/description/?envType=study-plan-v2&envId=top-interview-150
121Best Time to Buy and Sell StockEasyApril 24, 2024https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/?envType=study-plan-v2&envId=top-interview-150
122Best Time to Buy and Sell Stock IIJune 3, 2024https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/description/?envType=study-plan-v2&envId=top-interview-150
125Valid PalindromeEasyMay 6, 2024https://leetcode.com/problems/valid-palindrome/description/?envType=study-plan-v2&envId=top-interview-150
128Longest Consecutive SequenceMediumMay 15, 2024https://leetcode.com/problems/longest-consecutive-sequence/description/?envType=study-plan-v2&envId=top-interview-150
129Sum Root to Leaf NumbersMediumbinary treeMay 22, 2024https://leetcode.com/problems/sum-root-to-leaf-numbers/description/?envType=study-plan-v2&envId=top-interview-150
129Sum Root to Leaf Numbersdfs, treeApril 19, 2024https://leetcode.com/problems/sum-root-to-leaf-numbers/description/?envType=daily-question&envId=2024-04-15
130Surrounded RegionsMediumgraphMay 25, 2024https://leetcode.com/problems/surrounded-regions/description/?envType=study-plan-v2&envId=top-interview-150
133Clone GraphMediumgraphMay 25, 2024https://leetcode.com/problems/clone-graph/description/?envType=study-plan-v2&envId=top-interview-150
138Copy List with Random PointerMediumMay 19, 2024https://leetcode.com/problems/copy-list-with-random-pointer/description/?envType=study-plan-v2&envId=top-interview-150
141Linked List CycleEasyMay 18, 2024https://leetcode.com/problems/linked-list-cycle/description/?envType=study-plan-v2&envId=top-interview-150
150Evaluate Reverse Polish NotationMediumMay 18, 2024https://leetcode.com/problems/evaluate-reverse-polish-notation/description/?envType=study-plan-v2&envId=top-interview-150
151Reverse Words in a StringMediumMay 8, 2024https://leetcode.com/problems/reverse-words-in-a-string/description/?envType=study-plan-v2&envId=top-interview-150
167Two Sum II - Input Array Is SortedMediumarrays, two pointersMay 12, 2024https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description/?envType=study-plan-v2&envId=top-interview-150
169Majority ElementEasyApril 24, 2024https://leetcode.com/problems/majority-element/description/?envType=study-plan-v2&envId=top-interview-150
173Binary Search Tree IteratorMediumMay 22, 2024https://leetcode.com/problems/binary-search-tree-iterator/description/?envType=study-plan-v2&envId=top-interview-150
189Rotate ArrayMediumApril 26, 2024https://leetcode.com/problems/rotate-array/description/?envType=study-plan-v2&envId=top-interview-150
199Binary Tree Right Side ViewMediumbinary treeMay 23, 2024https://leetcode.com/problems/binary-tree-right-side-view/description/?envType=study-plan-v2&envId=top-interview-150
200Number of Islandsbfs, graphApril 19, 2024https://leetcode.com/problems/number-of-islands/description/?envType=daily-question&envId=2024-04-19
205Isomorphic StringsEasyMay 15, 2024https://leetcode.com/problems/isomorphic-strings/description/?envType=study-plan-v2&envId=top-interview-150
207Course ScheduleMediumgraphMay 25, 2024https://leetcode.com/problems/course-schedule/description/?envType=study-plan-v2&envId=top-interview-150
219Contains Duplicate IIEasyMay 15, 2024https://leetcode.com/problems/contains-duplicate-ii/description/?envType=study-plan-v2&envId=top-interview-150
222Count Complete Tree NodesEasybinary treeMay 23, 2024https://leetcode.com/problems/count-complete-tree-nodes/description/?envType=study-plan-v2&envId=top-interview-150
226Invert Binary TreeEasybinary treeMay 20, 2024https://leetcode.com/problems/invert-binary-tree/description/?envType=study-plan-v2&envId=top-interview-150
228Summary RangesEasyMay 16, 2024https://leetcode.com/problems/summary-ranges/description/?envType=study-plan-v2&envId=top-interview-150
236Lowest Common Ancestor of a Binary TreeMediumbinary treeMay 23, 2024https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/description/?envType=study-plan-v2&envId=top-interview-150
238Product of Array Except SelfMediumMay 8, 2024https://leetcode.com/problems/product-of-array-except-self/description/?envType=study-plan-v2&envId=top-interview-150
242Valid AnagramEasyMay 15, 2024https://leetcode.com/problems/valid-anagram/description/?envType=study-plan-v2&envId=top-interview-150
274H-IndexMediumMay 12, 2024https://leetcode.com/problems/h-index/description/?envType=study-plan-v2&envId=top-interview-150
289Game of LifeMedium2d-arrayMay 14, 2024https://leetcode.com/problems/game-of-life/description/?envType=study-plan-v2&envId=top-interview-150
290Word PatternEasyMay 15, 2024https://leetcode.com/problems/word-pattern/description/?envType=study-plan-v2&envId=top-interview-150
310Minimum Height TreesMediumgraphApril 27, 2024https://leetcode.com/problems/minimum-height-trees/description/?source=submission-noac
383Ransom NoteEasyarraysMay 15, 2024https://leetcode.com/problems/ransom-note/description/?envType=study-plan-v2&envId=top-interview-150
392Is SubsequenceEasyarraysMay 12, 2024https://leetcode.com/problems/is-subsequence/description/?envType=study-plan-v2&envId=top-interview-150
402Remove K DigitsApril 13, 2024https://leetcode.com/problems/remove-k-digits/description/?envType=daily-question&envId=2024-04-11
404Sum of Left LeavestreeApril 19, 2024https://leetcode.com/problems/sum-of-left-leaves/description/?envType=daily-question&envId=2024-04-14
452Minimum Number of Arrows to Burst BalloonsMediumMay 18, 2024https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/description/?envType=study-plan-v2&envId=top-interview-150
463Island PerimeterApril 18, 2024https://leetcode.com/problems/island-perimeter/description/?envType=daily-question&envId=2024-04-18
530Minimum Absolute Difference in BSTEasybinary treeMay 23, 2024https://leetcode.com/problems/minimum-absolute-difference-in-bst/description/?envType=study-plan-v2&envId=top-interview-150
623Add One Row to TreetreeApril 18, 2024https://leetcode.com/problems/add-one-row-to-tree/description/?envType=daily-question&envId=2024-04-16
637Average of Levels in Binary TreeEasybinary treeMay 23, 2024https://leetcode.com/problems/average-of-levels-in-binary-tree/description/?envType=study-plan-v2&envId=top-interview-150
654Maximum Binary TreeApril 14, 2024https://leetcode.com/problems/maximum-binary-tree/description/
752Open the LockMediumgraphApril 22, 2024https://leetcode.com/problems/open-the-lock/description/?envType=daily-question&envId=2024-04-22
904Fruit Into BasketsMediumsliding windowApril 27, 2024https://leetcode.com/problems/fruit-into-baskets/description/
988Smallest String Starting From Leafdfs, treeApril 19, 2024https://leetcode.com/problems/smallest-string-starting-from-leaf/description/?envType=daily-question&envId=2024-04-17
1008Construct Binary Search Tree from Preorder TraversalApril 14, 2024https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/description/
1137N-th Tribonacci NumberEasyApril 24, 2024https://leetcode.com/problems/n-th-tribonacci-number/description/?envType=daily-question&envId=2024-04-24
1971Find if Path Exists in GraphEasygraphApril 21, 2024https://leetcode.com/problems/find-if-path-exists-in-graph/description/?envType=daily-question&envId=2024-04-21
1992Find All Groups of FarmlandMediumApril 22, 2024https://leetcode.com/problems/find-all-groups-of-farmland/description/?envType=daily-question&envId=2024-04-20
3114Latest Time You Can Obtain After Replacing CharactersApril 18, 2024https://leetcode.com/problems/latest-time-you-can-obtain-after-replacing-characters/description/
3115Maximum Prime Differencemath, prime numberApril 18, 2024https://leetcode.com/problems/maximum-prime-difference/description/
3116Kth Smallest Amount With Single Denomination CombinationApril 18, 2024
Find Time Complexity
←PreviousThe TCP/IP Stack: The Architecture of the InternetNext→Examples