Notion software engineer interviews cover algorithms, data structures, system design, and coding problems drawn from real interview rounds.
No verified questions yet for Notion.
def generateMarkdown(blocks: List[str]) -> List[str]:blocks contains strings representing different block types like 'text', 'image', 'todo'.Example 1:blocks = ['text', 'image']['text', 'image', 'text
image', 'image
text']blocks = ['text', 'todo']['text', 'todo', 'text
todo', 'todo
text']Constraints:1 <= blocks.length <= 10blocks[i] consists of unique types only.def countChanges(changes: List[Tuple[int, int]], window: int) -> int: where changes is a list of tuples representing changes with start and end times.Example 1:changes = [(1, 4), (2, 5), (5, 7)], window = 33changes = [(1, 2), (2, 6), (5, 10)], window = 531 <= changes.length <= 10^51 <= changes[i][0], changes[i][1] <= 10^9Sign up for free to access walkthroughs, AI-generated questions, and more.
Get Started Free