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

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).

Releases

No releases published

Packages

No packages published

Languages