Join us

Generic Tree Data Structure in Go

The Tree

The Tree

Construct a Generic Tree

Tree: Display and Size

Tree: Max and Height

Pre Order Traversal

Post Order Traversal

Level Order Traversal

Level Order Traversal

Mirror the tree

Remove Leaves of the tree

Find in Tree

Node to Root

Lowest Common Ancestor

P.S. Lowest Common Ancestor means nearest level from node and not lowest value

Distance between nodes

Are Tree Shapes Similar?

Are Trees Mirror?


Let's keep in touch!

Stay updated with my latest posts and news. I share insights, updates, and exclusive content.

Unsubscribe anytime. By subscribing, you share your email with @hiteshrepo and accept our Terms & Privacy.

Give a Pawfive to this post!


Only registered users can post comments. Please, login or signup.

Start writing about what excites you in tech β€” connect with developers, grow your voice, and get rewarded.

Join other developers and claim your FAUN.dev() account now!

Avatar

Hitesh Pattanayak

Senior Consultant, Thoughtworks

@hiteshrepo
Senior Consultant @ Thoughtworks | Backend Engineer | Go | GRPC | Postgres | Datadog | Docker | K8 | AWS | C# | Python | SQL Server
Developer Influence
25

Influence

3k

Total Hits

1

Posts