PinnedSayantan·Jun 24, 2022Largest Sum Contiguous Sub-ArrayThe above snippet is the code of finding the Largest Sum Contiguous Sub-Array of a given array. The above implementation is done using…
Sayantan·Oct 12, 2022Minimize the Heights →GFGThe above snapshot is the optimal O(n logn) solution to the problem.
Sayantan·Aug 31, 2022React re-rendering feature can cause a huge hit in performance.The above code is a ReactJs code displaying a counter on the page where a user can go and click the button to increase the counter by 1.
Sayantan·Aug 25, 2022Jump Game → LeetcodeThe above solution is the O(n) solution of the leetcode problem.
Sayantan·Jul 26, 2022Kth Largest Element in a array without SortingThe above technique is used to find the kth largest element in array without sorting ,thus reducing complexity.
Sayantan·Jul 25, 2022Rat in a Maze -IThe above code snippet is all about finding the all possible paths that the rat can take to reach from source to destination. The approach…
Sayantan·Jul 21, 2022Longest Consecutive SubsequenceThe above code snippet is the brute force approach of finding the longest consecutive subsequence. Now the time complexity of the above…
Sayantan·Jul 20, 2022Print all the possible permutations of a StringThe above code snippet is helping is to find all the possible permutations of a given string.
Sayantan·Jul 19, 2022Unique Paths -II →LeetcodeThe above code snippet is to find the number of possible unique paths the robot can take to reach the bottom right corner.