Published inLevel Up CodingMaximum Even Sum Of K ElementsThis is a popular algorithm problem that can be solved with the Greedy Algorithm approach. This is an excellent example to learn how to…Jan 24, 20212Jan 24, 20212
Published inConsole.log()Longest substring with the same letters after replacement [Sliding Window]This is a popular algorithmic problem that involves finding the longest substring containing the same letters after replacing a certain…Nov 8, 20202Nov 8, 20202
Merging Meeting TimesThis is a popular algorithm problem that involves a list of integers which indicate meeting time slots in a calendar. The target is to…Sep 6, 2020Sep 6, 2020
Recursive function for generating all permutations of an input string — InterviewCakeThe problem is borrowed from InterviewCake. Although they did a great job explaining the solution in detail, there aren’t that many…Aug 26, 2020Aug 26, 2020
Published inLevel Up CodingYou have a list of integers, and for each index, you want to find the product of every integer…This problem is straight outta InterviewCake. Attempted to solve it but got stuck and eventually looked into the solution. Sadly, the…Aug 20, 2020Aug 20, 2020
Published inConsole.log()Leetcode 1019: Finding the next greatest node — the Domino effectHack it yourself!May 15, 2020May 15, 2020
Published inConsole.log()Light More Light, UVa — 10110Try it yourself on UVa. It’s Fun!Mar 31, 2020Mar 31, 2020
Published inConsole.log()Minimum Number of Swaps to Sort an Array of consecutive integersWell, the title speaks for itself!Mar 29, 2020Mar 29, 2020
Published inConsole.log()Using $auth module’s redirect in tandem with $router.push in Nuxt.jsRecently I came across the issue of using the auth module in Nuxt.js and invoking a $router.push in subsequent line of code in the same…Mar 12, 2020Mar 12, 2020