{"id":18968631,"url":"https://github.com/r100-stack/level-order-traversal-of-a-binary-tree","last_synced_at":"2026-07-22T23:31:24.930Z","repository":{"id":120424699,"uuid":"299788692","full_name":"r100-stack/Level-Order-Traversal-of-a-Binary-Tree","owner":"r100-stack","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-30T03:01:47.000Z","size":332,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T07:08:06.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/r100-stack.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":"2020-09-30T02:26:01.000Z","updated_at":"2020-09-30T03:01:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"31a3751b-2b7a-4a91-8f40-2f16be97618d","html_url":"https://github.com/r100-stack/Level-Order-Traversal-of-a-Binary-Tree","commit_stats":null,"previous_names":["r100-stack/level-order-traversal-of-a-binary-tree"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r100-stack%2FLevel-Order-Traversal-of-a-Binary-Tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r100-stack%2FLevel-Order-Traversal-of-a-Binary-Tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r100-stack%2FLevel-Order-Traversal-of-a-Binary-Tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r100-stack%2FLevel-Order-Traversal-of-a-Binary-Tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r100-stack","download_url":"https://codeload.github.com/r100-stack/Level-Order-Traversal-of-a-Binary-Tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239965692,"owners_count":19726162,"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-11-08T14:48:07.404Z","updated_at":"2025-10-09T04:37:45.927Z","avatar_url":"https://github.com/r100-stack.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Level Order Traversal of a Binary Tree\n\nThis code covers how the do a level order traversal of a binary tree. To accomplish this, we use the help of a queue.\n\n## Structure\n\n1. queue.c: Contains the implementation for Queue and Node\n2. level_order_traversal_of_binary_tree.c: Contains the main() that does the level order traversal of the binary tree shown in [sample_binary_tree.jpg (Below)](sample_binary_tree.jpg).\n\n\u003cimg src=\"sample_binary_tree.jpg\"\u003e\n\n## How to run the code (on Linux/Mac, use GitBash for Windows)\n\nTo compile the code\n```\ngcc -o ./executables/level_order_traversal_of_binary_tree level_order_traversal_of_binary_tree.c\n```\n\nTo run the code\n```\n./executables/level_order_traversal_of_binary_tree\n```\n\n## Sample Output\n```\n$ ./executables/level_order_traversal_of_binary_trees.exe\nBinary tree in level order: 15 11 17 5 13 16 1 12\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr100-stack%2Flevel-order-traversal-of-a-binary-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr100-stack%2Flevel-order-traversal-of-a-binary-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr100-stack%2Flevel-order-traversal-of-a-binary-tree/lists"}