Skip to content

Using the data structure algorithms Binary Search, Binary Search Tree (and QuickSort) with java.

License

Notifications You must be signed in to change notification settings

diegolrs/Binary-Search-And-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

592d175 · Nov 17, 2020

History

13 Commits
Nov 16, 2020
Nov 17, 2020
Nov 17, 2020
Nov 16, 2020
Nov 16, 2020
Nov 16, 2020
Nov 16, 2020
Nov 17, 2020
Nov 16, 2020
Nov 16, 2020
Nov 16, 2020
Nov 16, 2020
Nov 16, 2020
Nov 17, 2020
Nov 16, 2020
Nov 16, 2020

Repository files navigation

Binary Search and Binary Search tree

Binary search

  • Binary search is an algorithm for finding an item from a sorted list of items. In this case, Randoom QuickSort was choosen as sort method.

  • Usage: java BinarySearch fileWithItems fileWithItemsToSearch

Binary Search Tree

  • Binary Search Tree is a node-based binary tree data structure. Each node store the lessers values than key on left. The greater values than key is stored on the right.

  • Usage: java BSTree fileWithItems fileWithItemsToSearch

(Warning: Not recommended for sequencials values).