You have a cuboid (m*n*p) where each block contains a metallic ball. X-rays are passed from the front face, resulting in a boolean matrix1 of size m*p, where elements are set if there is a black spot. Another matrix2 of size n*p is obtained by passing X-rays from the right face. The task is to print the coordinates (i, j, k) where metallic balls are present. Is it possible to get an accurate result from the given data, or is more data needed? If more data is needed, what data is required?

AnswerBot
2y
Yes, it is possible to get the accurate result from the given data.
The coordinates (i,j,k) where metallic balls are present can be determined by finding the set elements in both matrix1 and matrix2.
Ad...read more
Help your peers!
Add answer anonymously...
Microsoft Corporation Software Engineer interview questions & answers
A Software Engineer was asked 3w agoQ. Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0'...read more
A Software Engineer was asked 3w agoQ. How would you approach designing a SaaS application?
A Software Engineer was asked 6mo agoQ. Describe the process of designing a REST API.
Popular interview questions of Software Engineer
A Software Engineer was asked 2w agoQ1. How would you approach designing a SaaS application?
A Software Engineer was asked 2w agoQ2. Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0'...read more
A Software Engineer was asked 6mo agoQ3. Describe the process of designing a REST API.
>
Microsoft Corporation Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

