MCPcopy Create free account
hub / github.com/apna-college/Alpha / main

Method main

8_DivideAndConquer/RotatedSortedArray.java:67–76  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

65 return -1;
66 }
67 public static void main(String args[]) {
68 // int arr[] = {4,5,6,7,0,1,2};
69 // int target = 0;
70 //expected output = 4;
71 int arr[] = {4, 5, 6, 1, 2, 3};
72 int target = 3;
73 //expected output = 5;
74 System.out.println(search(arr, target, 0, arr.length-1));
75
76 }
77}

Callers

nothing calls this directly

Calls 1

searchMethod · 0.95

Tested by

no test coverage detected