[해커랭크] MySQL - Binary Tree Nodes


[해커랭크] MySQL - Binary Tree Nodes

Binary Tree Nodes | HackerRank Write a query to find the node type of BST ordered by the value of the node. www.hackerrank.com 이번 문제는 이진 트리와 관련된 문제를 푸는 쿼리입니다. 문제) You are given a table, BST, containing two columns: N and P, where N represents the value of a node in Binary Tree, and P is the parent of N. Write a query to find the node type of Binary Tree ordered by the value of the node. Output o..


원문링크 : [해커랭크] MySQL - Binary Tree Nodes