mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 08:16:50 +08:00
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Notes:
|
||||
* - works by using divide and conquer
|
||||
* - the function gets the array A with n Real numbersand returns the local max point index (if more than one exists return the first one)
|
||||
* - the function gets the array A with n Real numbers and returns the local max point index (if more than one exists return the first one)
|
||||
*
|
||||
* @complexity: O(log(n)) (on average )
|
||||
* @complexity: O(log(n)) (worst case)
|
||||
|
Reference in New Issue
Block a user