Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
04
:
59
:
43
Back to Dashboard
[CodeSignal] Matrix Command Engine
Medium
You are given a 2D integer array grid of size n x m and an array of strings commands. Apply each command in order:
- "reverseRow r": Reverse the elements in row r (0-indexed). ...