Skip to content

Add SQL solution for classifying tree nodes#204

Open
Anushre20 wants to merge 1 commit intoGDG-IGDTUW:mainfrom
Anushre20:main
Open

Add SQL solution for classifying tree nodes#204
Anushre20 wants to merge 1 commit intoGDG-IGDTUW:mainfrom
Anushre20:main

Conversation

@Anushre20
Copy link
Contributor

closes #64
PR: Add solution for Tree Node problem

Changes:

  • Added solution.md with SQL CASE logic
  • Classifies nodes as Root, Inner, or Leaf
  • Handles NULL parent values correctly

✅ LeetCode accepted

Screenshot 2026-02-15 at 7 04 45 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DBMS - Q14 Tree Node

1 participant