Articles by Tag #bfs

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

Resolvendo o "Rotting Oranges"

Hoje a leitura é sobre como resolver o leetcode Rotting Oranges Vamos passar por como resolver o...

Learn More 29 2Jul 18 '24

864. Shortest Path to Get All Keys || Leetcode || Hard

Hey there 👋 Hope you are doing well 😃 In this blog we are going to discuss the approach for the...

Learn More 12 2Sep 25 '24

Solving "Minimum Genetic Mutation" leetcode

Hello! Today, we are going to solve Minimum Genetic Mutation on leetcode. This challenge uses some...

Learn More 11 2Jul 25 '24

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

Optimizing Chip Placement on Circular Wafers Using Breadth-First Search (BFS)

Introduction Semiconductor manufacturing involves fabricating microchips on circular...

Learn More 0 1Feb 25

3543. Maximum Weighted K-Edge Path

Problem BFS: TLE class Solution { public int maxWeight(int n, int[][] edges, int k, int t) { ...

Learn More 0 0May 21

Grid Teleportation Traversal

Problem TC : vlogv, where v = m*n class Solution { public int minMoves(String[] matrix) { ...

Learn More 0 0May 18

Find Largest Value in Each Tree Row

Leetcode daily challenge: 25 Dec,2024. Problem link BFS is perfect when we are dealing specifically...

Learn More 0 0Dec 25 '24