Development Associate Interview Questions

9,356 development associate interview questions shared by candidates

Write an algorithm that would traverse through a binary tree and remove zeros that are at the bottom of the tree (leaf nodes). If two leaf nodes have a value of zero, and its parent also has a value of zero, then make sure to remove the parent as well.
avatar

Capital One Technology Development Associate

Interviewed at Capital One

3.4
Feb 22, 2019

Write an algorithm that would traverse through a binary tree and remove zeros that are at the bottom of the tree (leaf nodes). If two leaf nodes have a value of zero, and its parent also has a value of zero, then make sure to remove the parent as well.

Viewing 7411 - 7420 interview questions

Glassdoor has 9,356 interview questions and reports from Development associate interviews. Prepare for your interview. Get hired. Love your job.