← Microsoft questions

Calendar slot booking API and nodes at k distance from leaves

Filed under Microsoft

Part 1: Design a calendar slot booking API that accepts time intervals, checks for overlaps, books the slot if available, and returns -1 otherwise. Part 2: Find all nodes in a binary tree at a given…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.