Skip to content

Instantly share code, notes, and snippets.

Avatar

Ray liyunrui

View GitHub Profile
@mycodeschool
mycodeschool / BST_InorderSuccessor_CPP.cpp
Last active Dec 23, 2020
C++ program to find Inorder successor in a BST
View BST_InorderSuccessor_CPP.cpp
/* C++ program to find Inorder successor in a BST */
#include<iostream>
using namespace std;
struct Node {
int data;
struct Node *left;
struct Node *right;
};
//Function to find some data in the tree
You can’t perform that action at this time.