The code is here: https://codesandbox.io/s/festive-payne-91ecb?file=/src/index.js … Quite a few bad practices and TODOs -- ignore these! :)
-
-
Show this thread
-
This is sort of similar to, but different from Algojammer (https://github.com/ChrisKnott/Algojammer …). Visualizing recursion with graphs makes it more teachable. Additionally, it increases the visibility of inefficiently recalculating parts of the tree multiple times (shown as number of links).
Show this thread -
`quickSort` exposes a problem with this approach to debugging. It's not clear what the pivot is without seeing which value from an array didn't get passed through into either branch. Hopefully I can come up with a generalisable improvement to the UX. https://r2y6o.csb.app/?input=10,8167,2,45,3,56,7 …pic.twitter.com/tcJTccewdm
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.