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
Table Of Contents
Code Scratch/leetcode

Table Of Contents

5 min read
Question IdNameDifficulty
2Add Two NumbersMedium
3Longest Substring Without Repeating CharactersMedium
5Longest Palindromic SubstringMedium
8String to Integer (atoi)Medium
11Container With Most WaterMedium
13Roman to IntegerEasy
14Longest Common PrefixEasy
153SumMedium
17Letter Combinations of a Phone NumberMedium
19Remove Nth Node From End of ListMedium
20Valid ParenthesesEasy
22Generate ParenthesesMedium
25Reverse Nodes in k-GroupHard
26Remove Duplicates from Sorted ArrayEasy
26Remove Duplicates from Sorted ArrayHard
27Remove ElementHard
33Search in Rotated Sorted ArrayMedium
34Find First and Last Position of Element in Sorted ArrayMedium
35Search Insert PositionEasy
42Trapping Rain WaterHard
48Rotate ImageMedium
49Group AnagramsMedium
50Pow(x, n)Medium
51N-QueensHard
53Maximum SubarrayMedium
54Spiral MatrixMedium
55Jump GameHard
56Merge IntervalsMedium
61Rotate ListMedium
69Sqrt(x)Easy
70Climbing StairsEasy
73Set Matrix ZeroesMedium
74Search a 2D MatrixMedium
75Sort ColorsMedium
78SubsetsMedium
80Remove Duplicates from Sorted Array IIHard
88Merge Sorted ArrayEasy
88Merge Sorted ArrayHard
118Pascal's TriangleEasy
121Best Time to Buy and Sell StockEasy
121Best Time to Buy and Sell StockHard
122Best Time to Buy and Sell Stock IIHard
138Copy List with Random PointerMedium
150Evaluate Reverse Polish NotationMedium
151Reverse Words in a StringMedium
153Find Minimum in Rotated Sorted ArrayMedium
155Min StackMedium
162Find Peak ElementMedium
169Majority ElementMedium
189Rotate Array (Approach 1 )Medium
189Rotate Array (Approach 2 )Medium
189Rotate ArrayHard
198House RobberMedium
200Number of Islands (Approach 1)Medium
200Number of Islands (Approach 2)Medium
205Isomorphic StringsEasy
207Course ScheduleMedium
215Kth Largest Element in an ArrayMedium
227Basic Calculator IIMedium
236Lowest Common Ancestor of a Binary TreeMedium
237Delete Node in a Linked ListMedium
238Product of Array Except SelfMedium
242Valid AnagramEasy
253Meeting Rooms II (Approach 1)Medium
253Meeting Rooms II (Approach 2)Medium
274H-IndexHard
283Move ZeroesEasy
345Reverse Vowels of a StringEasy
451Sort Characters By FrequencyMedium
540Single Element in a Sorted ArrayMedium
560Subarray Sum Equals KMedium
605Can Place FlowersEasy
636Exclusive Time of FunctionsMedium
704Binary SearchEasy
796Rotate StringEasy
875Koko Eating BananasMedium
1011Capacity To Ship Packages Within D DaysMedium
1071Greatest Common Divisor of StringsEasy
1101The Earliest Moment When Everyone Become FriendsMedium
1283Find the Smallest Divisor Given a ThresholdMedium
1431Kids With the Greatest Number of CandiesEasy
1614Maximum Nesting Depth of the ParenthesesEasy
1752Check if Array Is Sorted and RotatedEasy
1768Merge Strings AlternatelyEasy
1903Largest Odd Number in StringEasy
2140Solving Questions With BrainpowerMedium
2965Find Missing and Repeated ValuesEasy
3169Count Days Without MeetingsMedium
3481Apply SubstitutionsMedium
-Template-
-Implement Upper BoundMisc
-Implement Lower BoundMisc
-Calculate Floor & CeilingMisc
-Number of occurrenceMisc
-Flatten A Linked ListMisc
-Find Nth Root Of MMisc
Next→13. Roman to Integer