FSFareed S.infareedatcp.hashnode.dev路Sep 30, 2023 路 3 min readRecursion 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...00
FSFareed S.infareedatcp.hashnode.dev路Jul 20, 2023 路 3 min read鈥婼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, ...00
FSFareed S.infareedatcp.hashnode.dev路May 21, 2023 路 6 min readLeetCode 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...00
FSFareed S.infareedatcp.hashnode.dev路May 20, 2023 路 6 min readLet'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...00
FSFareed S.infareedatcp.hashnode.dev路May 18, 2023 路 5 min readCoding 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...00