Given a string s, return the longest prefix of s that is not equal to s and exists as a suffix of s. Constraints n ≤ 100,000 where n …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a binary tree root, return whether all values in the tree are the same. Constraints n ≤ 100,000 where …
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 …