PinnedNilesh SainiFear of Being Different“To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.” — Ralph Waldo Emerson4 min read·Aug 25, 2023----
Nilesh SainiBoyer-Moore Majority Voting AlgorithmThe Boyer-Moore Majority Voting Algorithm finds the majority element among the given elements with more than N/2 occurrences.5 min read·Feb 18, 2024--1--1
Nilesh SainiInsert Delete GetRandom O(1)Solving Leetocode 380 in JavaScript3 min read·Jun 1, 2023----
Nilesh SainiSort ColorsDifferent approaches to solve Leetcode 75 in JavaScript5 min read·May 31, 2023----
Nilesh SainiFind Pivot IndexDifferent approaches to solve Leetcode 724 in JavaScript2 min read·May 30, 2023----
Nilesh SainiIsomorphic StringsDifferent approaches to solve Leetcode 205 in JavaScript4 min read·May 29, 2023----
Nilesh SainiIntersection of Two Linked ListsDifferent approaches to solve Leetcode 160 in JavaScript4 min read·May 28, 2023----
Nilesh SainiRemove Linked List ElementsDifferent approaches to solve Leetcode 203 in JavaScript4 min read·May 27, 2023----
Nilesh SainiRemove Duplicates from Sorted ListDifferent approaches to solve Leetcode 347 in JavaScript3 min read·May 26, 2023----
Nilesh SainiMiddle of the Linked ListDifferent approaches to solve Leetcode 876 in JavaScript3 min read·May 25, 2023----