Microsoft

  www.microsoft.com
Work in HR? Unlock Free Profile

Microsoft New Graduate - Software Development Engineer In Test Interview Question

I interviewed in Redmond, WA and was asked:
"We have a quadtree algorithm and we are assuming that the boxes are labeled 0 (top left), 1 (top right), 2 (bottom left), 3 (bottom right) 'n' times. Write a function that when given an array input of n size (ie. [0,0,0,0] or [0,0,0,0,0,0,0,0,0] would be the top left corner) would determine if the corresponding box has at least one side touching at least one of the outermost walls."
Add Tags [?]
Answer

Part of a New Graduate - Software Development Engineer In Test Interview Review - one of 3,365 Microsoft Interview Reviews

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.