Skip to content

Commit 6f0077b

Browse files
Merge pull request #37 from prachijustin/challenges-branch
New challenges
2 parents 8eb54ba + 59c4b28 commit 6f0077b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,17 @@
1919
| |`#~~~~~#`|
2020
| |`##~~~##`|
2121
| |`###~###`|
22-
|8|***Challenge Awaits***|
22+
|8|Given a singly linked list of N nodes, find the middle of the linked list. For example, if given linked list is 1->2->3->4->5 then output should be 3. If there are even nodes, then there would be two middle nodes. So we need to print second middle element. Eg., if given linked list is 1->2->3->4->5->6 then output should be 4.|
23+
|9| Input a list having negative and positive integers.
24+
| |Output: Arranging them in increasing order(excluding negative impact).|
25+
| |Eg: Input: -8,-5,-3,-1,3,6,9|
26+
| |Output: -1, -3, 3, -5, 6, -8, 9|
27+
| |Excluding negation, list is 1,3,3,5,6,8,9. So list will be accordingly.|
28+
| |Order should be followed.(If -3 came before 3, then order should be same i.e., -3,3)|
29+
|10|Given a list with N numbers and a sum S, find all pairs(2 numbers) from the list which add upto S.
30+
| |Input: list: 1,4,6,45,10,8,8|
31+
| |Sum: 16|
32+
| |Output: 10 and 6, 8 and 8|
2333

2434
**Ciphers :** This folder contains the encryption and Decryption algorithms.
2535

0 commit comments

Comments
 (0)