Two SumProblem Statement : Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to…Aug 2, 2022Aug 2, 2022
House Robber or Non-Adjacent Maximum Sum — Dynamic ProgrammingProblem Statement : You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed…Jul 26, 2022Jul 26, 2022
Dynamic Programming — Minimum coin change ProblemProblem Statement : Write a function minimum coin change that takes in an amount and an array of coins. The function should return the…Jul 25, 2022Jul 25, 2022
PossibleSum — Dynamic Programming — RecursWrite a function combinationSum that takes in an amount and an array of positive numbers. The function should return a boolean indicating…Jul 21, 2022Jul 21, 2022
Dynamic Programming — Tribonacci sequence — Recursion and MemoizationPlease check recursion with memoization for fibonacci series —Jul 20, 2022Jul 20, 2022
Dynamic Programming Grid Traveller — Bottom-up Tabular ApproachIf you are looking at a recursive approach with memoization, its here …Jul 20, 2022Jul 20, 2022