Red Hat | SDE Internship | Online Assessment | India
Anonymous User
1499

Got to know about the opportunity from seniors,
The test is conducted on https://myanatomy.in/#/events-and-hackathon/Monocept/monocept-hiring-software-engineer

5 MCQ questions -> 2 on maths ( time distance, ratio % ), 1 on diagram reasoning, 2 on C program debugging (stack and queue)

2 Programming Questions ( Java JS C C++ .... were Available C++ 2D matrix in solve(int ** mat) form, not in vector )

  1. Given the 2D matrix, print all the diagonals from bottom left to top right
    E.g. given
1 3 6
2 5 8
4 7 9

we should print:
123456789
(simply start from each point in col 0, row n and travel in {-1,1})

  1. Given N, print the 2D matrix in this manner (question was worded like this, we have to notice the pattern and figure it out from 2 examples)

E.g. Given N = 3

3 3 3 3 3
3 2 2 2 3
3 2 1 2 3
3 2 2 2 3
3 3 3 3 3

(simply find the distance from the closest edge and then fill it with N-distance)

Comments (2)