We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95efab8 commit 4d1c06fCopy full SHA for 4d1c06f
src/main/java/com/fishercoder/solutions/_849.java
@@ -30,6 +30,7 @@
30
public class _849 {
31
public static class Solution1 {
32
int maxDist = 0;
33
+
34
public int maxDistToClosest(int[] seats) {
35
for (int i = 0; i < seats.length; i++) {
36
if (seats[i] == 0) {
0 commit comments