Microsoft Rounds
Coding Round The online assessment was hosted on Codility on 24/07/23. 2 Programming questions, 110 min total duration. Q 1. Given a 2xN matrix filled with characters ‘R’, ‘W’ and ‘?’, find minimum “moves” to achieve “perfection”. To make a move, replace any ‘?’ with ‘R’ or ‘W’. Perfection is such that, for any column (or any row), count of ‘R’ and ‘W’ in the column (or row) is same. If impossible, print -1....