LeetCode Question · Aug 2023

Ion OA

3 upvotes 510 views 4 replies

Question Details

You are given an undirected tree and can apply at most koperations on it. In one operation, remove a leaf vertex and its adjacent edge. A leaf vertex is a...

Full Details

🔒

Unlock all Microsoft questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a microsoft interview for a swe role during the oa round reported in 2023.

It covers the following topics: Arrays, Binary Tree, Graph, Matrix .