← All problemsSign in

Rocking XOR

Problem description. Nilakshi was busy helping Linkin Park band in correcting their rhythm for their upcoming concert. She got so engrossed in it that she forgot she had an assignment to complete on XOR. She asks you to complete that assignment. You are given a matrix A of size n x m(1 based indexing) and a string s containing either "Row" or "Col"(without quotes). STEP 1 : If the string s is "

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start