mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-21 02:53:15 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -29,9 +29,8 @@ public class SaddlebackSearch {
|
||||
* -1 -1.
|
||||
*/
|
||||
private static int[] find(int arr[][], int row, int col, int key) {
|
||||
|
||||
// array to store the answer row and column
|
||||
int ans[] = {-1, -1};
|
||||
int ans[] = { -1, -1 };
|
||||
if (row < 0 || col >= arr[row].length) {
|
||||
return ans;
|
||||
}
|
||||
|
Reference in New Issue
Block a user