You May Also Enjoy
944 Delete Columns to Make Sorted
3 minute read
A list of strings is a 2-dimensional array by definition. The solution to this problem is fairly simple at a glance: We just need to look at each column one ...
1248 Count Number of Nice Subarrays
1 minute read
Given an array of integers nums and an integer k. A subarray is called nice if there are k odd numbers on it.