From b16a900a337870fa669f39719e8588a9b57656d8 Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Tue, 31 Oct 2017 21:05:15 +0530 Subject: [PATCH 1/8] Update test --- test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test b/test index 3739875..e3f8dc6 100644 --- a/test +++ b/test @@ -1 +1,2 @@ -This is my first repo!! +This is mym +Hello India!!!! From 6662983eb61e2dcf65b4fd7a984915933c1c7fe9 Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Tue, 31 Oct 2017 21:23:57 +0530 Subject: [PATCH 2/8] Update test --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test b/test index e3f8dc6..672a553 100644 --- a/test +++ b/test @@ -1,2 +1,2 @@ -This is mym +This is my repo!!! Hello India!!!! From fecc3f911a565a7cad5f4ef088ed648e2cb10563 Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Wed, 24 Oct 2018 22:51:24 +0530 Subject: [PATCH 3/8] Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..84b3dab --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# MyRepo6 From ee290f1be9b63b351057e94ac95ec7b5fbdf5045 Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Wed, 24 Oct 2018 22:52:29 +0530 Subject: [PATCH 4/8] Change Change the name --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 84b3dab..0c1d88d 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ # MyRepo6 +my india From 4e19857c72d0caf4e38c652bcd5f56a4cc1768a7 Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Wed, 24 Oct 2018 22:52:57 +0530 Subject: [PATCH 5/8] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0c1d88d..65d68c3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # MyRepo6 my india +my world From 796cc6ac987c0e676db52dfbd4b3d3f803c356ae Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Wed, 24 Oct 2018 23:13:04 +0530 Subject: [PATCH 6/8] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 65d68c3..c07417d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # MyRepo6 my india my world +my Mumbai +hello Mumbai +hello India From e2498c2b10e19c40c7e6e34cb6ed539b173d08dd Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Thu, 29 Oct 2020 21:25:46 +0530 Subject: [PATCH 7/8] Delete README.md --- README.md | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index c07417d..0000000 --- a/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# MyRepo6 -my india -my world -my Mumbai -hello Mumbai -hello India From c6ea91984d8e25ef8d56fc38ef3463a6c1d0a0a3 Mon Sep 17 00:00:00 2001 From: bossdarshit <33258309+bossdarshit@users.noreply.github.com> Date: Thu, 29 Oct 2020 22:10:38 +0530 Subject: [PATCH 8/8] Create darshit.py --- darshit.py | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 darshit.py diff --git a/darshit.py b/darshit.py new file mode 100644 index 0000000..18d5b98 --- /dev/null +++ b/darshit.py @@ -0,0 +1,56 @@ +#include +using namespace std; + +struct Node { + int data; + struct Node* left; + struct Node* right; + + // val is the key or the value that + // has to be added to the data part + Node(int val) + { + data = val; + + // Left and right child for node + // will be initialized to null + left = NULL; + right = NULL; + } +}; + +int main() +{ + + /*create root*/ + struct Node* root = new Node(1); + /* following is the tree after above statement + + 1 + / \ + NULL NULL + */ + + root->left = new Node(2); + root->right = new Node(3); + /* 2 and 3 become left and right children of 1 + 1 + / \ + 2 3 + / \ / \ + NULL NULL NULL NULL + */ + + root->left->left = new Node(4); + /* 4 becomes left child of 2 + 1 + / \ + 2 3 + / \ / \ + 4 NULL NULL NULL + / \ + NULL NULL + */ + + return 0; +}