| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:c9022c0a-3f4c-e97c-baf9-712f8b29bed0 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | EB22:365BED:19EB49:247871:6AFDBDB7 |
| html-safe-nonce | f2a8019a803d0d504e26d2911ce78a0e2c50a27b615b1fb954c18c1a64dfa823 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjIyOjM2NUJFRDoxOUVCNDk6MjQ3ODcxOjZBRkRCREI3IiwidmlzaXRvcl9pZCI6IjMxMDI2NDE0ODI1ODcwMjg5MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 46bf4c5f11634c85e7a7c036fd92965e48753af4b0dde4ed24f10467299bb25c |
| hovercard-subject-tag | repository:75558080 |
| github-keyboard-shortcuts | repository,source-code,file-tree,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/code-by-code/interviewproblems/commits/develop/src/trees |
| twitter:image | https://opengraph.githubassets.com/4f07753bc5275587716902166d8e827fc36c4ef5500444c772ff32270a5174fa/code-by-code/interviewproblems |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f07753bc5275587716902166d8e827fc36c4ef5500444c772ff32270a5174fa/code-by-code/interviewproblems |
| og:image:alt | Tackling various problems asked in technical interviews - History for src/trees - code-by-code/interviewproblems |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35c6bf57da1370dc64866160540c0ee9f825f291935b3bf6ec5492b00e35f3a6 |
| turbo-cache-control | no-cache |
| go-import | github.com/code-by-code/interviewproblems git https://github.com/code-by-code/interviewproblems.git |
| octolytics-dimension-user_id | 22111102 |
| octolytics-dimension-user_login | code-by-code |
| octolytics-dimension-repository_id | 75558080 |
| octolytics-dimension-repository_nwo | code-by-code/interviewproblems |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 15099932 |
| octolytics-dimension-repository_parent_nwo | techpanja/interviewproblems |
| octolytics-dimension-repository_network_root_id | 15099932 |
| octolytics-dimension-repository_network_root_nwo | techpanja/interviewproblems |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab48c73a2978548773f5f24717ed9e58508befdb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://redirect.github.com/code-by-code/interviewproblems/commits/develop/src/trees#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcode-by-code%2Finterviewproblems%2Fcommits%2Fdevelop%2Fsrc%2Ftrees |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcode-by-code%2Finterviewproblems%2Fcommits%2Fdevelop%2Fsrc%2Ftrees |
| Sign up | https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommits%2Fshow&source=header-repo&source_repo=code-by-code%2Finterviewproblems |
| Reload | https://redirect.github.com/code-by-code/interviewproblems/commits/develop/src/trees |
| Reload | https://redirect.github.com/code-by-code/interviewproblems/commits/develop/src/trees |
| Reload | https://redirect.github.com/code-by-code/interviewproblems/commits/develop/src/trees |
| code-by-code | https://redirect.github.com/code-by-code |
| interviewproblems | https://redirect.github.com/code-by-code/interviewproblems |
| Code | https://redirect.github.com/code-by-code/interviewproblems |
| Pull requests | https://redirect.github.com/code-by-code/interviewproblems/pulls |
| Actions | https://redirect.github.com/code-by-code/interviewproblems/actions |
| Projects | https://redirect.github.com/code-by-code/interviewproblems/projects |
| Wiki | https://redirect.github.com/code-by-code/interviewproblems/wiki |
| Security and quality | https://redirect.github.com/code-by-code/interviewproblems/security |
| Insights | https://redirect.github.com/code-by-code/interviewproblems/pulse |
| https://redirect.github.com/code-by-code/interviewproblems |
| interviewproblems | https://redirect.github.com/code-by-code/interviewproblems/commits |
| src | https://redirect.github.com/code-by-code/interviewproblems/commits/develop/src |
| trees | https://redirect.github.com/code-by-code/interviewproblems/commits/develop/src/trees |
| develop | https://redirect.github.com/code-by-code/interviewproblems/tree/develop |
| BT Common Ancestor: Fixing bug. | https://redirect.github.com/code-by-code/interviewproblems/commit/3b6df491ef44bc7a47b33a6ea1c3f346cf35b9ef |
| 3b6df49 | https://redirect.github.com/code-by-code/interviewproblems/commit/3b6df491ef44bc7a47b33a6ea1c3f346cf35b9ef |
| https://redirect.github.com/code-by-code/interviewproblems/blob/3b6df491ef44bc7a47b33a6ea1c3f346cf35b9ef/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/3b6df491ef44bc7a47b33a6ea1c3f346cf35b9ef |
| SortedArrayToBalancedTree: Adding a comment. | https://redirect.github.com/code-by-code/interviewproblems/commit/a4ee3bd11036994ad705a95266954a0e0773ffbc |
| a4ee3bd | https://redirect.github.com/code-by-code/interviewproblems/commit/a4ee3bd11036994ad705a95266954a0e0773ffbc |
| https://redirect.github.com/code-by-code/interviewproblems/blob/a4ee3bd11036994ad705a95266954a0e0773ffbc/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/a4ee3bd11036994ad705a95266954a0e0773ffbc |
| Trees: PrintNaryTreeWithLevels minor refactoring. | https://redirect.github.com/code-by-code/interviewproblems/commit/fe7e8f09631a756f7848c76cecce5f7e9cf1cdd5 |
| fe7e8f0 | https://redirect.github.com/code-by-code/interviewproblems/commit/fe7e8f09631a756f7848c76cecce5f7e9cf1cdd5 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/fe7e8f09631a756f7848c76cecce5f7e9cf1cdd5/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/fe7e8f09631a756f7848c76cecce5f7e9cf1cdd5 |
| LeftViewOfATree: Minor refactoring. | https://redirect.github.com/code-by-code/interviewproblems/commit/6c9fba796b5176ec343e1a89f64b126d9fb7ab7c |
| 6c9fba7 | https://redirect.github.com/code-by-code/interviewproblems/commit/6c9fba796b5176ec343e1a89f64b126d9fb7ab7c |
| https://redirect.github.com/code-by-code/interviewproblems/blob/6c9fba796b5176ec343e1a89f64b126d9fb7ab7c/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/6c9fba796b5176ec343e1a89f64b126d9fb7ab7c |
| Trees: Non-recursive traversal. | https://redirect.github.com/code-by-code/interviewproblems/commit/b7dbd0c673f3688405c3dc406738b7c08df148c4 |
| b7dbd0c | https://redirect.github.com/code-by-code/interviewproblems/commit/b7dbd0c673f3688405c3dc406738b7c08df148c4 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/b7dbd0c673f3688405c3dc406738b7c08df148c4/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/b7dbd0c673f3688405c3dc406738b7c08df148c4 |
| Updating readme | https://redirect.github.com/code-by-code/interviewproblems/commit/cdf75174b112be46b88b9bc9c703aa19d1242011 |
| cdf7517 | https://redirect.github.com/code-by-code/interviewproblems/commit/cdf75174b112be46b88b9bc9c703aa19d1242011 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/cdf75174b112be46b88b9bc9c703aa19d1242011/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/cdf75174b112be46b88b9bc9c703aa19d1242011 |
| Trees: Paths equal to sum. Paths not starting from root also covered. | https://redirect.github.com/code-by-code/interviewproblems/commit/986d375bb277cd7a1c01f2dc3aa7ef6c8104c8ab |
| 986d375 | https://redirect.github.com/code-by-code/interviewproblems/commit/986d375bb277cd7a1c01f2dc3aa7ef6c8104c8ab |
| https://redirect.github.com/code-by-code/interviewproblems/blob/986d375bb277cd7a1c01f2dc3aa7ef6c8104c8ab/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/986d375bb277cd7a1c01f2dc3aa7ef6c8104c8ab |
| Trees: Find common ancestor of two nodes in a binary tree (not | https://redirect.github.com/code-by-code/interviewproblems/commit/0044cbaffa6a5275ee099ee282fa282c2967fe48 |
| 0044cba | https://redirect.github.com/code-by-code/interviewproblems/commit/0044cbaffa6a5275ee099ee282fa282c2967fe48 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/0044cbaffa6a5275ee099ee282fa282c2967fe48/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/0044cbaffa6a5275ee099ee282fa282c2967fe48 |
| Trees: Find paths equal to sum. | https://redirect.github.com/code-by-code/interviewproblems/commit/b6cc3f679eab9c3e63f9e83787bb055b14934af3 |
| b6cc3f6 | https://redirect.github.com/code-by-code/interviewproblems/commit/b6cc3f679eab9c3e63f9e83787bb055b14934af3 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/b6cc3f679eab9c3e63f9e83787bb055b14934af3/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/b6cc3f679eab9c3e63f9e83787bb055b14934af3 |
| Trees: Construct balanced tree from sorted array. | https://redirect.github.com/code-by-code/interviewproblems/commit/ea4321ef843ccac42e7f7a66ddd5953df97fc946 |
| ea4321e | https://redirect.github.com/code-by-code/interviewproblems/commit/ea4321ef843ccac42e7f7a66ddd5953df97fc946 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/ea4321ef843ccac42e7f7a66ddd5953df97fc946/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/ea4321ef843ccac42e7f7a66ddd5953df97fc946 |
| Tree: Check if a tree is BST. | https://redirect.github.com/code-by-code/interviewproblems/commit/446fd84ee51f11a8f5ae6eed74083730c611b030 |
| 446fd84 | https://redirect.github.com/code-by-code/interviewproblems/commit/446fd84ee51f11a8f5ae6eed74083730c611b030 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/446fd84ee51f11a8f5ae6eed74083730c611b030/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/446fd84ee51f11a8f5ae6eed74083730c611b030 |
| Trees: Find LCA of Binary Search Tree. | https://redirect.github.com/code-by-code/interviewproblems/commit/cc884093062667aa2a3cfa5617cf63fabf52bd41 |
| cc88409 | https://redirect.github.com/code-by-code/interviewproblems/commit/cc884093062667aa2a3cfa5617cf63fabf52bd41 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/cc884093062667aa2a3cfa5617cf63fabf52bd41/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/cc884093062667aa2a3cfa5617cf63fabf52bd41 |
| Trees: Refactoring retrieveTree method. | https://redirect.github.com/code-by-code/interviewproblems/commit/ad3d7761ce7e46077a71cb43712fa8dba4bc0c83 |
| ad3d776 | https://redirect.github.com/code-by-code/interviewproblems/commit/ad3d7761ce7e46077a71cb43712fa8dba4bc0c83 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/ad3d7761ce7e46077a71cb43712fa8dba4bc0c83/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/ad3d7761ce7e46077a71cb43712fa8dba4bc0c83 |
| Re-organizing code for Trees. | https://redirect.github.com/code-by-code/interviewproblems/commit/ef903541b6aec08e73f535becdf8ad89a28e9b06 |
| ef90354 | https://redirect.github.com/code-by-code/interviewproblems/commit/ef903541b6aec08e73f535becdf8ad89a28e9b06 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/ef903541b6aec08e73f535becdf8ad89a28e9b06/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/ef903541b6aec08e73f535becdf8ad89a28e9b06 |
| Updating user. | https://redirect.github.com/code-by-code/interviewproblems/commit/69e3f3c9e3e0d51b0016bf8fd9501ad4c901514c |
| https://redirect.github.com/techpanja |
| techpanja | https://redirect.github.com/code-by-code/interviewproblems/commits?author=techpanja |
| 69e3f3c | https://redirect.github.com/code-by-code/interviewproblems/commit/69e3f3c9e3e0d51b0016bf8fd9501ad4c901514c |
| https://redirect.github.com/code-by-code/interviewproblems/blob/69e3f3c9e3e0d51b0016bf8fd9501ad4c901514c/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/69e3f3c9e3e0d51b0016bf8fd9501ad4c901514c |
| CheckBalancedTree: Renaming variable | https://redirect.github.com/code-by-code/interviewproblems/commit/beedaf20ed69e5e546b9439382030e27e152ea96 |
| beedaf2 | https://redirect.github.com/code-by-code/interviewproblems/commit/beedaf20ed69e5e546b9439382030e27e152ea96 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/beedaf20ed69e5e546b9439382030e27e152ea96/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/beedaf20ed69e5e546b9439382030e27e152ea96 |
| Removing copyright. | https://redirect.github.com/code-by-code/interviewproblems/commit/2d7114122005acdc9c3dd1bbc3fbc64c7c405f7d |
| 2d71141 | https://redirect.github.com/code-by-code/interviewproblems/commit/2d7114122005acdc9c3dd1bbc3fbc64c7c405f7d |
| https://redirect.github.com/code-by-code/interviewproblems/blob/2d7114122005acdc9c3dd1bbc3fbc64c7c405f7d/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/2d7114122005acdc9c3dd1bbc3fbc64c7c405f7d |
| Interview Problems V1 12/10/2013 | https://redirect.github.com/code-by-code/interviewproblems/commit/d3324d9f58b1615692eb5ce099f7b5e58f818321 |
| d3324d9 | https://redirect.github.com/code-by-code/interviewproblems/commit/d3324d9f58b1615692eb5ce099f7b5e58f818321 |
| https://redirect.github.com/code-by-code/interviewproblems/blob/d3324d9f58b1615692eb5ce099f7b5e58f818321/src/trees |
| https://redirect.github.com/code-by-code/interviewproblems/tree/d3324d9f58b1615692eb5ce099f7b5e58f818321 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |