Articles by Tag #depthfirstsearch

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

Climbing a depth-first search hill, Advent of Code 2024, day 10

Today, we’re diving into the Day 10 puzzle. Like Day 6, it’s a 2D grid, but this time, we need to...

Learn More 0 0Jan 13

Number of islands

Problem Time complexity: O(M∗N)O(M*N)O(M∗N) , since we are traversing all the cell in the...

Learn More 0 0Sep 26 '24