Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinarySearch ¶
Binary Search is a search algorithm that finds the position of a target value in a sorted array.
func BinarySearchFunc ¶
Binary Search is a search algorithm that finds the position of a target value in a sorted array. This function accepts any type of arguments, but a user should provide compare function. Compare function returns: 0 if two arguments are equal +1 if the left argument is greater -1 if the right argument is greater
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.