InLevel Up CodingbyAbrar Shariar·Jan 24, 2021Maximum 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…A response icon2A response icon2
InConsole.log()byAbrar Shariar·Nov 8, 2020Longest 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…A response icon2A response icon2
Abrar Shariar·Sep 6, 2020Merging 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…
Abrar Shariar·Aug 26, 2020Recursive 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…
InLevel Up CodingbyAbrar Shariar·Aug 20, 2020You 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…
InConsole.log()byAbrar Shariar·Jun 24, 2020Nested reduce() in JSSample data structure:A response icon2A response icon2
InConsole.log()byAbrar Shariar·May 15, 2020Leetcode 1019: Finding the next greatest node — the Domino effectHack it yourself!
InConsole.log()byAbrar Shariar·Mar 31, 2020Light More Light, UVa — 10110Try it yourself on UVa. It’s Fun!
InConsole.log()byAbrar Shariar·Mar 29, 2020Minimum Number of Swaps to Sort an Array of consecutive integersWell, the title speaks for itself!
InConsole.log()byAbrar Shariar·Mar 12, 2020Using $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…