RBC Interview Question

CodeSignal Test: 4 questions 1 easy, 1 medium, 2 difficult. matrix question(2d array),character matching