We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
static class TestDataEmptyArray {
public static int[] get_array() {
return new int[]{};
}
}
static class TestDataUniqueValues {
public static int[] get_array() {
// complete this function
return new int[]{1,2,3,4,5};
}
public static int get_expected_result() {
// complete this function
return minimum_index(get_array());
}
}
static class TestDataExactlyTwoDifferentMinimums {
public static int[] get_array() {
// complete this function
return new int[]{1,2,3,4,3,2,1};
}
public static int get_expected_result() {
// complete this function
return minimum_index(get_array());
}
}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 27: Testing
You are viewing a single comment's thread. Return to all comments →