MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / min

Method min

Misc/Fibonacci_Search/solution.java:29–30  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

27 // Utility function to find minimum
28 // of two elements
29 public static int min(int x, int y)
30 { return (x <= y)? x : y; }
31
32 /* Returns index of x if present, else returns -1 */
33 public static int fibMonaccianSearch(int arr[],

Callers 10

fibMonaccianSearchMethod · 0.95
highAndLowFunction · 0.80
leastLargerFunction · 0.80
insertMethod · 0.80
trapMethod · 0.80
minPathSumMethod · 0.80
countSquaresMethod · 0.80
maxAreaMethod · 0.80
pageCountMethod · 0.80
pageCountFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected