EasyTechnical
1
156
Implement binary tree level order traversal
Given a binary tree, return the level order traversal of its nodes values (i.e., from left to right, level by level).
Software Engineer
Microsoft is a technology corporation producing computer software, consumer electronics, and cloud services including Azure and Office 365.
3
Questions in database
Given a binary tree, return the level order traversal of its nodes values (i.e., from left to right, level by level).
Write a Python decorator that caches function results with configurable TTL and max size. Handle edge cases.
Implement a trie data structure with insert, search, and autocomplete functionality. Optimize for prefix searches.