摘要:
Given a binary tree, return all root-to-leaf paths. Note: A leaf is a node with no children. Example: Idea: traverse solution (inorder postorder, preo 阅读全文
摘要:
beautiful arrangement backtracking for each position check each number. set number to one position 阅读全文