Skip to content

Add KthSmallestElementInBST implementation with test#7267

Open
shreyash24-tech wants to merge 1 commit intoTheAlgorithms:masterfrom
shreyash24-tech:add-kth-smallest-bst
Open

Add KthSmallestElementInBST implementation with test#7267
shreyash24-tech wants to merge 1 commit intoTheAlgorithms:masterfrom
shreyash24-tech:add-kth-smallest-bst

Conversation

@shreyash24-tech
Copy link

@shreyash24-tech shreyash24-tech commented Feb 13, 2026

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new algorithms include a corresponding test class that validates their functionality.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 78.57143% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.32%. Comparing base (0c79d33) to head (ad9077d).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
.../datastructures/trees/KthSmallestElementInBST.java 78.57% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7267   +/-   ##
=========================================
  Coverage     79.31%   79.32%           
- Complexity     6990     6995    +5     
=========================================
  Files           781      782    +1     
  Lines         22958    22972   +14     
  Branches       4510     4513    +3     
=========================================
+ Hits          18210    18223   +13     
- Misses         4020     4021    +1     
  Partials        728      728           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants