Skip to content

Commit f92662a

Browse files
add reference link for 1377
1 parent b8cc6eb commit f92662a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/fishercoder/solutions/_1377.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
* */
4848
public class _1377 {
4949
public static class Solution1 {
50+
/**credit: https://leetcode.com/problems/frog-position-after-t-seconds/discuss/532505/Java-Straightforward-BFS-Clean-code-O(N)*/
5051
public double frogPosition(int n, int[][] edges, int t, int target) {
5152
List<Integer>[] graph = new ArrayList[n];
5253
for (int i = 0; i < n; i++) {

0 commit comments

Comments
 (0)