keshavMM004 / keshavMM004/InterviewQuest

META interview question

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
hacktoberfest
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

[](url)Given the root of a binary tree, return the diameter of the tree, which is the length of the longest path between any two nodes. This path can pass through the root but doesn't have to.

The length of a path between two nodes is defined by the number of edges connecting them.
[leetcode](https://leetcode.com/problems/diameter-of-binary-tree/description/)

Contributor guide

Open the contributing guide

Research direction

The issue names no Java file, entry point, or test. Start by locating the repository's existing binary-tree question implementations, then use the linked LeetCode statement to confirm the expected diameter behavior. Done means the question is implemented consistently with the surrounding solutions and its expected cases are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.