Microsoft OA | NSUT | 2-Month Internship | 2023
Question · Posted Jul 2023
Challenge 1 description A domino is a rectangular tile divided into two square parts. There are between 1 and 6 dots on each of the parts.There is an array A of length 2*N, representing N dominoes. Dominoes are arranged in ; line in the order in which they appear in array A. The number of dots on the left and the right parts of the K-th domino are A[2*k] and A[2*K+1], respectively. For example, an array A = [2, 4, ...
The full answer & interview discussion are available to premium members.
Log in Create a free account