Randomly shuffle binary tree nodes while maintaining tree structure
Filed under MindTickle
The question
Given a binary tree, shuffle its node values equiprobably across the tree while preserving the original structure and shape of the tree.
No write-up yet. Related questions below have one.
Related MindTickle questions
Collected from public candidate posts and coding forums. Updated Nov 2026.