Given two lowercase alphabet strings a and b, return the length of the longest anagram subsequence. Constraints n ≤ 100,000 where n is the length of a m ≤ …
Why Lambda? AWS Lambda is serverless and low costs. We don’t need to maintain (upgrade, patch) the server. Lambda API costs less than spawing up a EC2 instance. Lambda …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a triangle array, return the minimum path sum from top to bottom. For each step, you may move to …
The n queens puzzle asks to place n queens on an n×n chessboard so that no two queens are attacking each other. Given a two-dimensional integer matrix where 1 …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given two arrays, write a function to compute their intersection. Example 1: Input: nums1 = , nums2 = Output: Example …
You are given a two dimensional array matrix, containing strings “r”, “g”, and “b”. Perform a floodfill operation at row r, column c with the color target. A floodfill …