Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Feature Description
[Recover Binary Search Tree]
You are given the root of a binary search tree (BST), where the values of exactly two nodes of the tree were swapped by mistake. Recover the tree without changing its structure.
Use Case
For users to be able to see the solutions and understand it.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record
- I have read the Contributing Guidelines
- I'm a GSSOC'24 contributor
- I have starred the repository
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done