Showing 3 of 6 questions
You are given two strings of the same length. Determine if you can make the first string equal to the second by swapping characters at even indices or swapping characters at odd indices.
#1. Check if Strings Can be Made Equal With Operations I
You are given two strings of the same length. Determine if you can make them equal by swapping characters at even indices in the first string with characters at even indices in the second, and similarly for odd indices.
#2. Check if Strings Can be Made Equal With Operations II
You are given a rectangular grid representing farmland. Identify and return the coordinates of all rectangular groups of connected farmland cells.
#3. Find All Groups of Farmland
Page 1 of 1 · 6 total