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!
Select
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
play-icon
play-icon
qr-code
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

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits