- Array.
- Linked List.
- Stack.
- Lists.
- Dictionaries.
- Queue.
- Sets
- Tree.
- Hash Table.
- Graph and Graph Algorithm.
- Binary Tress and Binary Search Trees.
- Sorting Alogithms.
- Searching Algorithms.
- Advanced Algorithms.
const cup = {
isEmpty: true,
fill: function() {
this.isEmpty = false;
console.log("Cup filled! Time to code with coffee.!");
}
};
if (cup.isEmpty) {
cup.fill();
// Start coding here...
console.log("Let's write some awesome code!");
} else {
// Cup is already filled, no need to refill.
console.log("Cup is already filled! Don't waste your time let's together dive into coding!");
}
