Recursion Part-2Recap This is another continuation of my previous blog on recursion. So we have now learned that in a recursive function, the function will be calling itself inside init and there must be a/many base cases that can prevent calling this function based...Sep 30, 2023 路 3 min readfareedatcp.hashnode.dev
鈥婼DE Interview experience: AmazonI gave an interview for Amazon, almost a year ago for the SDE2(L4) position, but I was rejected. Every round they ask Leadership Principles questions, the whole process took about 1-1.5 months. Here is my experience. Telephonic Round: In this round, ...Jul 20, 2023 路 3 min readfareedatcp.hashnode.dev
LeetCode Contest SolutionProblem 1: 2696. Minimum String Length After Removing Substrings You are given a string s consisting only of uppercase English letters. You can apply some operations to this string where, in one operation, you can remove any occurrence of one of the...May 21, 2023 路 6 min readfareedatcp.hashnode.dev
Let's talk about RecursionWhy recursion? Well if you master it, you will be able to solve Trees, Graphs, Backtracking and dynamic programming problems. Basic Rules There are only two things to remember The function will be calling itself. There must be a base case to termin...May 20, 2023 路 6 min readfareedatcp.hashnode.dev
Coding Interview with chatGPT and BARDI was solving a problem on Leetcode, and eventually, I got TLE but thought to ask Gbard and ChatGPT about the same problem here are my experiences. First of all, here is the problem Leetcode Problem link: https://leetcode.com/problems/sum-of-distance...May 18, 2023 路 5 min readfareedatcp.hashnode.dev