Articles by Tag #dijkstras

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Swim in rising water

Problem class Solution { public int swimInWater(int[][] grid) { Queue<Data> q =...

Learn More 0 0Jul 12

Path with minimum effort

Problem class Solution { public int minimumEffortPath(int[][] heights) { ...

Learn More 0 0Jul 12

Safest Walk through the grid

Problem class Solution { public boolean findSafeWalk(List<List<Integer>> grid, int...

Learn More 0 0Jul 12

Find safest walk through the grid

problem TC: O(n*m) , SC :O(n*m) + O(n*m) int Directions[][] = ...

Learn More 0 0Oct 7 '24