Comments (1)
@kingstenbanh wow, nice catch! And this is why I mentioned in the README.md and in the article, some of my solutions are less than perfect, so if anyone can improve, I'm happy to listen!
This makes total sense, though, and is a much simpler way of doing it. I had the last-in-first-out part right, but was just going about it in a very inefficient way... This is much better.
Are you interested in making a PR? If so, I would gladly accept it.
Thanks for the props, too, btw! Glad you are finding the project useful.
Since this is for educational purpose, we don't want to mislead others.
And yes, I totally agree.
from cs-playground-react.
Related Issues (20)
- Fix "Flatten An Array" tests
- Add infinite loop protection
- cursor does not have enough contrast on light themes
- fix loop-protect bug
- Error (stack exhausted, infinite loop, reference error etc.) silences console.log HOT 3
- Add theme class to sidebar--menu--sub-header HOT 8
- add reverse vowels challenge
- fix loop-protect issue, change timeout length HOT 4
- [staging]: add user created repls HOT 2
- [staging]: add repl share feature & address ls overwrite problem
- track menu state HOT 4
- future feature: searchable menu
- future feature: settings menu
- add flow for static type checking
- add modal for move to forced https warning
- [future feature] add "save / share all state" feature
- add hamburger menu and keybindings modal HOT 9
- BST algo remove has small glitch HOT 6
- Add transition to dropdowns HOT 1
- Benchmark for native sort() flawed? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cs-playground-react.