{"id":25085916,"url":"https://github.com/bornalgo/binarytree","last_synced_at":"2026-04-19T03:02:18.359Z","repository":{"id":158467469,"uuid":"631683124","full_name":"bornalgo/BinaryTree","owner":"bornalgo","description":"Binary Tree: Sample C++ code inspired by LeetCode","archived":false,"fork":false,"pushed_at":"2023-05-10T03:31:14.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T09:21:26.011Z","etag":null,"topics":["argument-parsing","bash","batch","binary-tree","ci-cd","cmake","compiler","cpp","generator","make","makefile","schematic"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bornalgo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-04-23T19:35:45.000Z","updated_at":"2023-05-02T12:43:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4936a01-0134-46cc-aeaf-d45c9da94a14","html_url":"https://github.com/bornalgo/BinaryTree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bornalgo/BinaryTree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bornalgo%2FBinaryTree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bornalgo%2FBinaryTree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bornalgo%2FBinaryTree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bornalgo%2FBinaryTree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bornalgo","download_url":"https://codeload.github.com/bornalgo/BinaryTree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bornalgo%2FBinaryTree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["argument-parsing","bash","batch","binary-tree","ci-cd","cmake","compiler","cpp","generator","make","makefile","schematic"],"created_at":"2025-02-07T08:30:49.712Z","updated_at":"2026-04-19T03:02:18.300Z","avatar_url":"https://github.com/bornalgo.png","language":"C++","readme":"# Binary Tree\n## _Sample C++ code inspired by [LeetCode](https://leetcode.com/)_\n\n[![BinaryTree_Sample](res/img/binary_tree_example_path.svg)](../../../TextAnimator)\n\nBinaryTree is a library inspired by [Maximum Width of Binary Tree](https://leetcode.com/problems/maximum-width-of-binary-tree/) and\n[Print Binary Tree](https://leetcode.com/problems/print-binary-tree) questions.\n\n## Features\n\n- Creates schematic of a binary tree\n- Evaluates the maximum width of a binary tree\n- Converts a vector to a binary tree\n- CMake is used to build the library\n- [Batch script](buildWindows.bat) can be executed to create the make file and build the program in Windows\n- [Bash script](buildLinux.sh) can be executed to create the make file and build the program in Linux\n- more to come ...\n\n## Prerequisites\n\n- g++ or any C++ compiler\n- cmake\n- make\n\n\n## Build\n\n### Windows\n\nExecute the following command\n```bat\n.\\buildWindows.bat\n```\nThe following additional options can be provided\n```\n-source [SOURCE]      : source directory\n-build [BUILD]        : build directory excluding operating system\n-generator [GENERATOR]: generator for cmake\n-compiler [COMPILER]  : compiler for cmake\n-make [MAKE]          : make executable\n-vcvarsall            : path to vcvarsall.bat to set the environment variables for visual studio\n*                     : any cmake arguments\n-- *                  : any make arguments\n```\n\n### Linux\n\nExecute the following command\n```sh\n./buildLinux.sh\n```\nThe following additional options can be provided\n```\n-source [SOURCE]      : source directory\n-build [BUILD]        : build directory excluding operating system\n-generator [GENERATOR]: generator for cmake\n-compiler [COMPILER]  : compiler for cmake\n-make [MAKE]          : make executable\n*                     : any cmake arguments\n-- *                  : any make arguments\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbornalgo%2Fbinarytree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbornalgo%2Fbinarytree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbornalgo%2Fbinarytree/lists"}