A PHP Error was encountered

Severity: Notice

Message: Undefined index: markdown

Filename: models/Languages.php

Line Number: 47

Backtrace:

File: /mnt/disk/stikked.z-apps.ca/htdocs/application/models/Languages.php
Line: 47
Function: _error_handler

File: /mnt/disk/stikked.z-apps.ca/htdocs/application/models/Pastes.php
Line: 429
Function: code_to_description

File: /mnt/disk/stikked.z-apps.ca/htdocs/application/controllers/Main.php
Line: 536
Function: getPaste

File: /mnt/disk/stikked.z-apps.ca/htdocs/index.php
Line: 284
Function: require_once

# Diameter of Binary Tree Interview note (diam-tree) — practice write-up. ## Approach Walk the inputs carefully, pick the right structure, then verify edge cases. Complexity target: linear or n log n when possible. ## Why this matters in interviews Hiring loops reward clear tradeoff talk. A calm plan beats clever one-liners. ## Practice tip If you freeze on a follow-up, restate constraints out loud and re-derive from first principles. --- Practicing with [Linkjob AI copilot](https://www.linkjob.ai/) — real-time AI interview help for coding rounds and OAs.