Abrar ShariarinLevel 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…·4 min read·Jan 24, 2021--2--2
Abrar ShariarinConsole.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…·3 min read·Nov 8, 2020--2--2
Abrar ShariarMerging 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…·3 min read·Sep 6, 2020----
Abrar ShariarRecursive 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…·2 min read·Aug 26, 2020----
Abrar ShariarinLevel 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…·3 min read·Aug 20, 2020----
Abrar ShariarinConsole.log()Nested reduce() in JSSample data structure:·1 min read·Jun 24, 2020--2--2
Abrar ShariarinConsole.log()Leetcode 1019: Finding the next greatest node — the Domino effectHack it yourself!·3 min read·May 15, 2020----
Abrar ShariarinConsole.log()Light More Light, UVa — 10110Try it yourself on UVa. It’s Fun!·2 min read·Mar 31, 2020----
Abrar ShariarinConsole.log()Minimum Number of Swaps to Sort an Array of consecutive integersWell, the title speaks for itself!·2 min read·Mar 29, 2020----
Abrar ShariarinConsole.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…·2 min read·Mar 12, 2020----