CodingReported in a candidate post, Dec 2024
Longest Path With Different Adjacent Characters variant
Filed under Microsoft
The question
A graph-based problem similar to finding the longest path in a tree where adjacent nodes must have different characters.
No write-up yet. Related questions below have one.
Related Microsoft questions
Collected from public candidate posts and coding forums. Updated Nov 2026.