0
Coding
Explanation: When two man are dropped at positions (5,5) and (5,3) then the total number of buildings controlled by soldiers are 22 No. of buildings in column 3+No. of buildings in column 5 No. of buildings in row 5-No. of buildings common among them=8-8-8-2 =22 Therefore, 22 is returned as the output Example 2 input: 1 input2: (4,4)) Output: 15
2 Answers
+ 3
This is the Q&A section. You can ask programming related questions here. So what's your question and what's the relevant programming language?
0
Answer?