Skip to content

Commit fb26f04

Browse files
committed
Add day 47
1 parent cab1ced commit fb26f04

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ Motivate yourself to code daily till 60 days, and see the magic! Coding will bec
7171
| [Day 41](./day41) | [Implement Queue Data Structure](./day41) | [http://codetoexpress.tech/dc/day41/](http://codetoexpress.tech/dc/day41/) | **Beginner** |
7272
| [Day 42](./day42) | [Alternate Queue Combination](./day42) | [http://codetoexpress.tech/dc/day42/](http://codetoexpress.tech/dc/day42/) | **Intermediate** |
7373
| [Day 43](./day43) | [Queue Reversal](./day43) | [http://codetoexpress.tech/dc/day43/](http://codetoexpress.tech/dc/day43/) | **Intermediate** |
74-
| [Day 44](./day44) | [Queue from Stacks](./day44) | [http://codetoexpress.tech/dc/day44/](http://codetoexpress.tech/dc/day44/) | **intermediate** |
74+
| [Day 44](./day44) | [Queue from Stacks](./day44) | [http://codetoexpress.tech/dc/day44/](http://codetoexpress.tech/dc/day44/) | **Intermediate** |
7575
| [Day 45](./day45) | [Priority Queue](./day45) | [http://codetoexpress.tech/dc/day45/](http://codetoexpress.tech/dc/day45/) | **Advanced** |
7676
| [Day 46](./day46) | [Double Ended Queue](./day46) | [http://codetoexpress.tech/dc/day46/](http://codetoexpress.tech/dc/day46/) | **Advanced** |
77+
| [Day 47](./day47) | [Singly Linked List](./day47) | [http://codetoexpress.tech/dc/day47/](http://codetoexpress.tech/dc/day47/) | **Intermediate** |
7778

7879
## [More Problems](./BONUS/README.md)
7980

day47/JavaScript/linkedList.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// To Be Added

day47/README.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
![cover](./cover.png)
2+
3+
# Day 47 - Implement a singly linked list
4+
5+
Write a program to implement a singly linked list
6+
7+
### Linked Lists
8+
9+
#### Source: [GeeksForGeeks](https://www.geeksforgeeks.org/data-structures/linked-list/)
10+
11+
A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements in a linked list are linked using pointers
12+
13+
### Advantages of Linked Lists
14+
15+
1. Dynamic size
16+
2. Ease of insertion/deletion
17+
18+
### Disadvantages of Linked Lists
19+
20+
1. A middle element can't be accessed directly, only traversal is possible
21+
2. Extra memory space for a pointer is required with each element of the list
22+
23+
[Read More (Geeks4Geeks)](https://www.geeksforgeeks.org/linked-list-set-1-introduction/)
24+
25+
Try to implement a singly linked list
26+
27+
## Solution
28+
29+
## JavaScript Implementation
30+
31+
### [Solution](./JavaScript/linkedList.js)
32+
33+
```js
34+
// To Be Added
35+
```

day47/cover.png

137 KB
Loading

0 commit comments

Comments
 (0)