#Leetcode

Author avatar
Anonymous UserMay 27, 2025
Reorganize String | Two adjacent characters are not the same.

Given a string s, rearrange the characters of s so that any two adjacent characters are not the same.Return any possible rearrangement of&nb

3 min read·General
Article cover
Author avatar
Prashant BasnetMay 26, 2025
Kahn's Algorithm | Topological Sort | Graph Cycle Detection

A sort that return a specific order of the vertex of a given a graph as long as the graph satisfies certain condition. This is a simple algorithm to learn.First

5 min read·General
Article cover
Author avatar
Brain DumpJan 3, 2025
6-month Google LeetCode study plan

Easy (35/288)Two SumPalindrome NumberRoman to IntegerLongest Common PrefixValid ParenthesesMerge Two Sorted ListsRemove Duplicates from Sorted ArrayRemove Eleme

1 min read·General
Article cover
Author avatar
Brain DumpJan 2, 2025
Amazon Spring '23 High Frequency problems

EasyKids With the Greatest Number of CandiesMediumThe kth Factor of nOptimal Partition of StringLowest Common Ancestor of a Binary Tree IVMinimum Swaps to Group

2 min read·General
Article cover
Author avatar
Anonymous UserJan 1, 2025
Google High Frequency Leetcode Question

Google Spring' 23 High FrequencyGuess the Word (Hard)Reconstruct Itinerary (Hard)Finding the Number of Visible Mountains (Medium)Largest Color Value in a Direct

4 min read·General
Article cover