{"id":15435224,"url":"https://github.com/neuodev/trees","last_synced_at":"2026-04-16T21:04:17.751Z","repository":{"id":139101119,"uuid":"353935528","full_name":"neuodev/Trees","owner":"neuodev","description":"In this Repo. I created a Tree class From scratch that has different  methods: insert(), find(), traversePreOrder(), traversePostOrder(), traverseInorder, BreathFirstSearch(), hieght(), getMin(), equals(), isBindarySearchTree(), printKthNodeAtDistance() [ print kth node at distance  ], isLeaf()  ","archived":false,"fork":false,"pushed_at":"2021-04-02T07:10:59.000Z","size":161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T07:02:47.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neuodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-02T07:02:16.000Z","updated_at":"2021-04-02T07:11:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbd82f68-4bc0-4686-89d2-f0ce006b8af1","html_url":"https://github.com/neuodev/Trees","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":0.06666666666666665,"last_synced_commit":"6d9304c10d0b026f6f5f900981f1782398ef12f6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neuodev%2FTrees","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neuodev%2FTrees/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neuodev%2FTrees/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neuodev%2FTrees/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neuodev","download_url":"https://codeload.github.com/neuodev/Trees/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242098021,"owners_count":20071345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T18:43:08.352Z","updated_at":"2026-04-16T21:04:12.694Z","avatar_url":"https://github.com/neuodev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Trees\nIn this Repo I created a Tree class From scratch that has different  \nmethods: \n - insert() -\u003e add new node to the tree  \n - find(node) -\u003e travers the tree untill finding the node else return null  \n - traversePreOrder() -\u003e trever the node in Depth first  search  \n - traversePostOrder() -\u003e trever the node in Depth first  search  \n - traverseInorder()-\u003e trever the node in Depth first  search  \n - BreathFirstSearch() -\u003e traverse the tree in Breath first search and print them  \n - hieght() -\u003e return the height of the tree  \n - getMin() -\u003e return the smallest value in the tree  \n - equals() -\u003e compare tow trees for equality   \n - isBindarySearchTree() -\u003e vlaidate the tree that it is a bindary search tree \n - printKthNodeAtDistance() -\u003e print kth node at distance \n - isLeaf() -\u003e uitl mehtod to vlaidate that a given node is the last node in the tree or a sub tee \n \n ![REES](https://github.com/AhmedIbrahim336/Trees/blob/master/assets/tree.png)\n ![REES](https://github.com/AhmedIbrahim336/Trees/blob/master/assets/tree-2.png)\n ![REES](https://github.com/AhmedIbrahim336/Trees/blob/master/assets/tree-3.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuodev%2Ftrees","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneuodev%2Ftrees","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuodev%2Ftrees/lists"}