- Array
- Hashtable
- Linked List
- Stack and Queue
- Tree
- Graph
- Dynamic Programming
- Recursion
- Sorting
- Traversals
- BFS
- DFS
This repository contains data structures and algorithm implemented in C#.
FYI for anyone who cares:
This line is setting the value to null in the Object array called data. This doesn't actually remove the element from the array, it just sets it to null. If you were to actually use this code, memory would only increase because when you call delete(), it doesn't free up anything.
The way to solve this in C# would be to create an entirely new array with a length of -1 from the original array.
I am following the same course as you are and using your solutions when I am stuck, and I got relly stuck on that implementations. Why did you think of creating another class called Node? How does that even work in the code, I thought it was a little confusing..
I was reading about inheriting from List, and apparently it is not a very good thing to do unless you are trying to build a mecahnism, which I am not sure if that is what you had in mind. Anyway, what I did was simply wrapped a List inside the class.
https://stackoverflow.com/questions/21692193/why-not-inherit-from-listt
Take a look at the question and comments, they are very enlightening, I think.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.