Skip to content

Commit

Permalink
Update 미로탈출.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sey2 authored Feb 16, 2023
1 parent 7148c54 commit 157e378
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions programmers/미로탈출.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public void bfs(Pos start, Pos endPoint){
q.add(start);
depth[start.y][start.x] = 0;

if(start.x == endPoint.x && start.y == endPoint.y)
return;

while(!q.isEmpty()){
Pos cur = q.poll();

Expand Down

0 comments on commit 157e378

Please sign in to comment.