Skip to content

AdiMarianMutu/In-Depth-Neighbours-Seeker-Algorithm-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

In Depth Neighbors Seeker Algorithm Visualizer

Visualizer of what I'm calling In Depth Neighbors Seeker Algorithm 😅

Why?

I've discovered this challenge and I just wanted to solve it by myself, after ~5 hours I came up with this solution. I don't have any experience with algorithms, so maybe I've just recreated something that already exists, but I still feel very proud of myself for successfully completing this challenge.

Challenge

The challenge is pretty simple, there is a matrix filled with 0 and 1, our goal is to retrieve only the 1 which are vertically or orizontally connected, but the connection must start from a border. Then just remove the 1 which are not connected.
(Even if behind the scenes the algorithms correctly returns the matrix, I've decided to leave the unlinked cells in order to better visualize the matrix)

This

100111
101010
011100
100000
011010
010000

Would become

100111
100010
000000
100000
011000
010000

If it would have been processed with the visualizer
example

Visualizer

After seeing some cool folks building some amazing algorithms visualizers, I decided to do the same, and I had a lot of fun during the process 😁

Visualizer available here

About

Visualizer of what I'm calling In Depth Neighbors Seeker Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published