BFS and DFS Templates Algorithms in Swift

Hello everyone, Leo here. The topic today is BFS and DFS templates algorithms for problems and what is the minimum code you can have to achieve them in Swift. Today we’ll explore two very important concepts that are crucial for problem-solving that involves traversing graphs, trees, etc. Those two algorithms are the foundation of knowledge […]

Algorithms: Number of Islands Problem in Swift

Hello guys and girls, Leo here. Today we’ll solve a leetcode problem called “The Number of Islands” using DFS. I know it’s been a while since we don’t solve any algorithm problem so today we’re continuing the algorithm series. Let’s code! Number of Islands Problem – Using DFS to solve Given a 2d grid map of […]

Join our Newsletter!

From beginner-friendly tutorials to advanced coding techniques, the newsletter is designed to help you level up your skills and stay up-to-date with the latest trends in app development.