Valizada's blog

392. Is Subsequence - June day 9

June 09, 2020Leetcode / Algorithms 1 Min Read

link to leetcode problem definition Given a string s and a string t, check if s is subsequence of t. A subsequence of a string is a new…

518. Coin Change 2 - June day 7

June 07, 2020Leetcode / Algorithms 3 Min Read

link to leetcode problem definition You are given coins of different denominations and a total amount of money. Write a function to compute…

343. Integer Break, leetcode - Recursion, memoization

May 23, 2020Leetcode / Algorithms 2 Min Read

Another interesting leetcode problem that comes up often in Apple and Google interviews. Given a positive integer n, break it into the sum…

1447 Simplified Fractions, Leetcode

May 17, 2020Leetcode / Algorithms 2 Min Read

1447 Simplified fractions Given an integer n, return a list of all simplified fractions between 0 and 1 (exclusive) such that the…