From 9356797a0972a6d086176f2139016d9f8abd4842 Mon Sep 17 00:00:00 2001 From: narender08 <56318863+narender08@users.noreply.github.com> Date: Sat, 3 Oct 2020 13:54:07 +0000 Subject: [PATCH] Update bst.cpp --- bst.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bst.cpp b/bst.cpp index f7d483f..855d630 100644 --- a/bst.cpp +++ b/bst.cpp @@ -1,11 +1,13 @@ #include #include using namespace std; + class node { - int info; - node *left; - node *right; + private: + int info; + node *left; + node *right; public: friend class bst; node()