You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-10
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
-
[Visit this page in Website for Coding interview](http://www.rupeshtiwari.com/coding-examples-cs-fundamentals/)
2
-
1
+
[Visit this page in Website for Coding interview](http://www.rupeshtiwari.com/coding-examples-cs-fundamentals/)
3
2
4
3
-[Important thing to remember](#important-thing-to-remember)
5
4
-[Working with this repo](#working-with-this-repo)
@@ -354,7 +353,7 @@ A binary tree is a type of tree in which each node has `at most two children` (0
354
353
355
354
#### Minimal Binary Tree
356
355
357
-
A Minimal Binary Tree has about the same number of nodes on the left of each node as on the right.
356
+
A Minimal Binary Tree has about the same number of nodes on the left of each node as on the right.
358
357
359
358
#### Binary Search Tree (BST)
360
359
@@ -376,19 +375,25 @@ Below image showing how to add `[3, 7, 4, 6, 5, 1, 10, 2, 9, 8]` in BST.
376
375
-[Binary Search Tree Implementation Question](https://codepen.io/roopkt/pen/RwpJBOw?editors=0010)
377
376
-[Binary Search Tree Implementation Answer](https://codepen.io/roopkt/pen/LYWBYMM?editors=0010)
378
377
379
-
380
378
Binary Search can be done both in iterative or recursive way.
381
379
382
-

380
+

383
381
384
382
#### Binary Search Iterative
385
383
386
384

387
385
388
-
#### Binary Search Recursive
386
+
#### Binary Search Recursive
387
+
388
+

389
+
390
+
Simulating Recursive Binary Search for an existing number in a sorted increasing order unique integer array.
389
391
390
-

392
+

391
393
394
+
Simulating Recursive Binary Search for an non-existing number in a sorted increasing order unique integer array.
395
+
396
+

392
397
393
398
### Trie
394
399
@@ -561,9 +566,7 @@ abstract data type (ADT) - ADT is defined as a user point of view of a data type
561
566
562
567

563
568
564
-
565
-
566
-
#### Minimal Tree: Given a sorted increasing order array with unique integer elements, write an algorithm to create a binary search tree with minimal height.
569
+
#### Minimal Tree: Given a sorted increasing order array with unique integer elements, write an algorithm to create a binary search tree with minimal height.
0 commit comments