Comments (2)
If a deleted node has pointers pointing to it, what should we do with those pointers after the deletion? I think we should somehow indicate that those pointers are not null; rather, they are pointing to some garbage that we no longer have control over (because that represents what would actually happen in C++ in this scenario).
Figuring out how to undo a delete operation might also be tricky, since we need to restore the pointers that previously pointed to the deleted node.
from data-structures-playground.
Those are great points. I think part of the design here will end up depending on
- the semantics of the language that the students are using along with the tool
- if we want to restrict operations in order to teach something
Right now its looking like we are going to end up targeting students have mostly a Java background, so that might make the design a little different.
For now I think I'm going to wait on this until we have a more clear idea of the exact tasks we are going to be asking students to do.
from data-structures-playground.
Related Issues (14)
- Enable scripting
- Make Diagram Style Configurable
- Initialize Linked List from UI
- Manipulate Linked list from UI HOT 1
- Use SVG Instead of Canvas
- Enable Undo/Redo of operations
- Improve Placement of Newly Created Objects HOT 1
- Better Type Safety for `makeLine` function
- Enable reassign to null HOT 1
- Configure eslint to also check trailing newlines
- Validate variable names
- Improve Keyboard Interactions
- Add automated tests
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 data-structures-playground.