mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 09:45:04 +08:00
updated
proper spacing
This commit is contained in:
@ -38,8 +38,8 @@ public class EggDropping
|
||||
}
|
||||
}
|
||||
}
|
||||
return eggFloor[n][m];
|
||||
|
||||
return eggFloor[n][m];
|
||||
}
|
||||
|
||||
//testing program
|
||||
@ -47,7 +47,6 @@ public class EggDropping
|
||||
{
|
||||
int n = 2, m = 4;
|
||||
//result outputs min no. of trials in worst case for n eggs and m floors
|
||||
|
||||
int result = minTrials(n, m);
|
||||
System.out.println(result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user