Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinarySearch ¶
BinarySearch takes in a slice of integers and a target integer. Searches for the target using binary search algorithm. If target is found, returns its index. Otherwise returns -1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.