Skip to content

A Javascript project that visualizes the backtracking and bruteforce process that occurs in the Recursion stack, inspired by a Leetcode problem.

Notifications You must be signed in to change notification settings

saif-gitreps/Recursion-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recursion-visualizer

A Javascript project that visualizes backtracking process that occurs in the recursion stack. The idea originated from the Leetcode problem "Unique Path". The problem states that we have to find the number of ways/paths a Robot placed at the top-left corner of an N x N grid can move to reach the bottom-right corner. The problem is solved using Dynamic Programming.

The bruteforce approach however involves an interesting pattern that simulates the actual motion of the Robot, Which in theory isnt the optimal solution but the backtracking path is an interesting visual to observe.

The project is deployed on Netlify. -link: https://amazing-taffy-810899.netlify.app/

About

A Javascript project that visualizes the backtracking and bruteforce process that occurs in the Recursion stack, inspired by a Leetcode problem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published