๐ฅ Data Structures you should be knowing as a Web Developer
๐ HTML + CSS + JavaScript : ๐ข๐ฅบ
๐ + Data Structures : ๐ฏ โ ๐ช
๐งต ๐
๐ HTML + CSS + JavaScript : ๐ข๐ฅบ
๐ + Data Structures : ๐ฏ โ ๐ช
๐งต ๐
We will be discussing about
๐ data structures
๐ their example use case in UI
๐ what operations to know
Data structures are,
1๏ธโฃ Array
2๏ธโฃ Set
3๏ธโฃ Stack
4๏ธโฃ Queue
5๏ธโฃ Hash Table
6๏ธโฃ Tree
โช โช โช
๐ data structures
๐ their example use case in UI
๐ what operations to know
Data structures are,
1๏ธโฃ Array
2๏ธโฃ Set
3๏ธโฃ Stack
4๏ธโฃ Queue
5๏ธโฃ Hash Table
6๏ธโฃ Tree
โช โช โช
1๏ธโฃ Array
Without an Array, no web development is possible. List of items are stored inside Array.
So you should be knowing
โช Creating an Array
โช Iterating
โช Find an Element
โช Insert Element(s)
โช Delete Element(s)
โช Filter an Array
โช Fetch a Sub-Array
โช Merging Arrays
Without an Array, no web development is possible. List of items are stored inside Array.
So you should be knowing
โช Creating an Array
โช Iterating
โช Find an Element
โช Insert Element(s)
โช Delete Element(s)
โช Filter an Array
โช Fetch a Sub-Array
โช Merging Arrays
2๏ธโฃ Set
Set is used to contain unique elements.
Example: Items added to a Shopping Cart. Each item is unique.
You should be knowing
โช Creating a Set
โช Iterate through Set
โช Get an Element
โช Insert Element(s)
โช Delete Element(s)
โช Verify Existence
โช Merging Sets
Set is used to contain unique elements.
Example: Items added to a Shopping Cart. Each item is unique.
You should be knowing
โช Creating a Set
โช Iterate through Set
โช Get an Element
โช Insert Element(s)
โช Delete Element(s)
โช Verify Existence
โช Merging Sets
3๏ธโฃ Stack
Stack is where an element is entered and exited at one end only.
Example: Stacked Image Carousel
You should be knowing
โช Creating a Stack
โช Push Element to a Stack
โช Pop an Element from a Stack
Stack is where an element is entered and exited at one end only.
Example: Stacked Image Carousel
You should be knowing
โช Creating a Stack
โช Push Element to a Stack
โช Pop an Element from a Stack
4๏ธโฃ Queue
Queue is where an element is entered at one side where as exited at the other side.
Example: A dynamically loading news feed. New post appears at the bottom where as while scrolling old post at the top get offloaded.
Queue is where an element is entered at one side where as exited at the other side.
Example: A dynamically loading news feed. New post appears at the bottom where as while scrolling old post at the top get offloaded.
You should be knowing
โช Creating a Queue
โช Insert an item to Queue
โช Remove an item from Queue
โช Creating a Queue
โช Insert an item to Queue
โช Remove an item from Queue
5๏ธโฃ Hash Table
Also known as Map, Dictionary. It is a container of Key-Value pairs.
Example: Items displayed in categories.
You should be knowing
โช Creating a Hash Table
โช Inserting an Entry
โช Deleting an Entry
โช Getting Value for a Key
โช Checking if a Key exists
Also known as Map, Dictionary. It is a container of Key-Value pairs.
Example: Items displayed in categories.
You should be knowing
โช Creating a Hash Table
โช Inserting an Entry
โช Deleting an Entry
โช Getting Value for a Key
โช Checking if a Key exists
6๏ธโฃ Tree
Tree is a hierarchical structure.
Example: DOM
You should be knowing
โช Creating a Tree
โช Traversing through Tree
โช Fetch sub tree
โช Fetch siblings
โช Add an Element
โช Remove an Element
Tree is a hierarchical structure.
Example: DOM
You should be knowing
โช Creating a Tree
โช Traversing through Tree
โช Fetch sub tree
โช Fetch siblings
โช Add an Element
โช Remove an Element
We come to the end of this ๐งต Hope you find it useful.
๐ I am Swapna and I write contents on DSA, JavaScript and Python
To never miss any content from me,
โ Follow @swapnakpanda
๐ Turn on Notifications
โค๏ธ Like the tweet
๐ The first tweet
๐ฌ Your feedback about the content
๐ I am Swapna and I write contents on DSA, JavaScript and Python
To never miss any content from me,
โ Follow @swapnakpanda
๐ Turn on Notifications
โค๏ธ Like the tweet
๐ The first tweet
๐ฌ Your feedback about the content
Loading suggestions...