{"id":18927821,"url":"https://github.com/0xabdulkhaliq/binary-search-trees","last_synced_at":"2026-02-04T05:41:40.102Z","repository":{"id":206395597,"uuid":"704552665","full_name":"0xabdulkhaliq/binary-search-trees","owner":"0xabdulkhaliq","description":"An interactive demonstration of Binary Search Tree operations.","archived":false,"fork":false,"pushed_at":"2024-08-23T05:28:50.000Z","size":326,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T07:03:57.486Z","etag":null,"topics":["algorithms","binary-search-tree","css","es6","html","javascript","webpack"],"latest_commit_sha":null,"homepage":"https://binary-search-trees.vercel.app","language":"JavaScript","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/0xabdulkhaliq.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-10-13T13:59:11.000Z","updated_at":"2024-08-23T05:28:54.000Z","dependencies_parsed_at":"2023-11-09T12:59:19.698Z","dependency_job_id":"5d90c900-1cbc-45c0-b4d7-df2003430b0d","html_url":"https://github.com/0xabdulkhaliq/binary-search-trees","commit_stats":null,"previous_names":["0xabdulkhalid/binary-search-trees","0xabdulkhaliq/binary-search-trees"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xabdulkhaliq/binary-search-trees","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xabdulkhaliq%2Fbinary-search-trees","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xabdulkhaliq%2Fbinary-search-trees/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xabdulkhaliq%2Fbinary-search-trees/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xabdulkhaliq%2Fbinary-search-trees/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xabdulkhaliq","download_url":"https://codeload.github.com/0xabdulkhaliq/binary-search-trees/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xabdulkhaliq%2Fbinary-search-trees/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29071597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["algorithms","binary-search-tree","css","es6","html","javascript","webpack"],"created_at":"2024-11-08T11:20:55.329Z","updated_at":"2026-02-04T05:41:40.071Z","avatar_url":"https://github.com/0xabdulkhaliq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./design/logo.svg\" alt=\"\" width=\"250\"\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n**❝** Experience binary search trees in action with interactive demonstrations **❞**\n\n\u003cbr\u003e\n  \u003cp\u003e\n    ❯ \u0026nbsp;\n    \u003ca href=\"https://binary-search-trees.vercel.app/\"\u003eView Demo\u003c/a\u003e\n    \u0026nbsp;·\u0026nbsp;\n    \u003ca href=\"https://github.com/0xabdulkhaliq/binary-search-trees/issues\"\u003eReport Bug\u003c/a\u003e\n    \u0026nbsp;·\u0026nbsp;\n    \u003ca href=\"https://github.com/0xabdulkhaliq/binary-search-trees/issues\"\u003eRequest Feature\u003c/a\u003e\n     \u0026nbsp; ❮\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align='center'\u003e\n\u003cimg src='./design/preview.webp' alt='Mobile Preview'\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n## Installation\n\n\u003e [!NOTE]  \n\u003e If you prefer not to install it locally, you can also access the [live demo](https://binary-search-trees.vercel.app/)  version\n\n\nTo set up the BST Application locally, follow these steps:\n\n1. Clone the GitHub repository to your local machine:\n\n   ```bash\n   git clone https://github.com/0xabdulkhaliq/binary-search-trees.git\n   ```\n\n2. Navigate to the project's directory:\n\n   ```bash\n   cd binary-search-trees\n   ```\n\n3. Install the project's dependencies using npm:\n\n   ```bash\n   npm install\n   ```\n\n4. Build the project to bundle JavaScript, minify HTML and CSS, and move images:\n\n   ```bash\n   npm run build\n   ```\n5. The build files can be found on `dist` (distribution) directory.\n\n\u003cbr\u003e\n\n\n## Features\n\n- **Create and Visualize BST**: Easily create a binary search tree from an array and visualize its structure.\n\n- **Interactive Operations**: Insert, delete, and search for values within the tree, providing insights into how BSTs work.\n\n- **Measure Tree Height**: Calculate the height of the tree, an essential metric in tree analysis.\n\n- **Determine Depth**: Find the depth of a specific value in the tree to understand its position.\n\n- **Check for Balance**: Evaluate tree balance to optimize performance.\n\n- **Tree Traversals**: Explore different tree traversal algorithms, including level-order, pre-order, in-order, and post-order.\n\n- **Seamless Theme Switching**: Enjoy a light or dark theme at your convenience, and your preferred theme is automatically saved in local storage for a consistent experience across visits.\n\n- **Optimized for Any Screen**: Effortlessly adapt to screens of all sizes, ensuring a flawless experience on both desktop and mobile devices.\n\n- **ES6 Modules**: JavaScript code is organized into ES6 modules for improved maintainability.\n\n- **Webpack Bundling**: Optimize resource loading by bundling JavaScript modules with Webpack.\n\n- **Cross-Browser Compatibility**: Ensure smooth performance across various web browsers.\n\n- **Code Formatting Guidelines**: The project adheres to coding standards and maintains code consistency by implementing ESLint along with Prettier for code formatting.\n\n\u003cbr\u003e\n\n## Pagespeed Insights Score\n  \n- ||\n  | :-----: |\n  |  \u003cb\u003eOverall Score 98.5%, Average of Mobile and Desktop\u003c/b\u003e\u003cbr\u003e[ Mobile devices score is only shown below ] |\n  | |\n  | \u003cimg src='./design/pagespeed-insights-score.svg' alt='Scoreboard'\u003e |\n  | |\n  | Check out [**Pagespeed Insights**](https://pagespeed.web.dev/analysis?url=https%3A%2F%2Fbinary-search-trees.vercel.app%2F) to get live score |\n  ||\n\n\u003cbr\u003e\n\n## Built With\n\n\u003cdiv align=center\u003e\n\n ![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge\u0026logo=html5\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge\u0026logo=css3\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![JavaScript](https://img.shields.io/badge/ES6%20Modules%20-%23F7DF1E.svg?style=for-the-badge\u0026logo=javascript\u0026logoColor=black) \u0026nbsp;\u0026nbsp;![Webpack](https://img.shields.io/badge/webpack-%238DD6F9.svg?style=for-the-badge\u0026logo=webpack\u0026logoColor=black) \u0026nbsp;\u0026nbsp;![html-minifier](https://img.shields.io/badge/html%20minifier-A90533?style=for-the-badge\u0026logo=html5\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![CSS3](https://img.shields.io/badge/css_minifier-2C2D72.svg?style=for-the-badge\u0026logo=css3\u0026logoColor=white)\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n## Tools Used\n\n\u003cdiv align=center\u003e\n  \n![NPM](https://img.shields.io/badge/npm-CB3837?style=for-the-badge\u0026logo=npm\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![Google](https://img.shields.io/badge/google-DA4437?style=for-the-badge\u0026logo=google\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![Prettier](https://img.shields.io/badge/prettier-1A2C34?style=for-the-badge\u0026logo=prettier\u0026logoColor=F7BA3E) \u0026nbsp;\u0026nbsp;![Eslint](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge\u0026logo=eslint\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![Visual Studio Code](https://img.shields.io/badge/VS%20Code-0078d7.svg?style=for-the-badge\u0026logo=visual-studio-code\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![Git](https://img.shields.io/badge/Git-F05032?style=for-the-badge\u0026logo=git\u0026logoColor=white) \u0026nbsp;\u0026nbsp;![Figma](https://img.shields.io/badge/Figma-F24E1E?style=for-the-badge\u0026logo=figma\u0026logoColor=white)\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n## Let's Connect 👋\n\n\u003cdiv align=center\u003e\n\n  \u003ca href=\"https://linkedin.com/in/0xabdulkhaliq\" \u003e\n    \u003cimg src=\"https://img.shields.io/badge/linkedin%20Profile-%2300acee.svg?color=405DE6\u0026style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"Linkedin Profile\"\u003e\n  \u003c/a\u003e\u0026nbsp;\u0026nbsp;\n\n  \u003ca href=\"mailto:0xabdulkhaliq@gmail.com\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/gmail-%23EA4335.svg?style=for-the-badge\u0026logo=gmail\u0026logoColor=white\" alt=mail/\u003e\n  \u003c/a\u003e\u0026nbsp;\u0026nbsp;\n\n  \u003ca href=\"https://www.github.com/0xabdulkhaliq/\" \u003e\n    \u003cimg src=\"https://img.shields.io/badge/Github%20Profile-131313?style=for-the-badge\u0026logo=github\u0026logoColor=white\" alt=\"Github Profile\"\u003e\n  \u003c/a\u003e\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xabdulkhaliq%2Fbinary-search-trees","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xabdulkhaliq%2Fbinary-search-trees","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xabdulkhaliq%2Fbinary-search-trees/lists"}