Showing 2 questions
Determine how many strings from a given list are subsequences of a larger input string. A subsequence can be formed by deleting characters from the larger string without changing the order of the remaining characters.
#1. Number of Matching Subsequences
Traverse a given matrix in a spiral pattern, returning all elements in the order you visit them. Essentially, walk around the matrix layer by layer, adding elements to a list.
#2. Spiral Matrix
Page 1 of 1 · 2 total