Spaces:
Runtime error
Runtime error
Update knowledge.txt
Browse files- knowledge.txt +0 -1
knowledge.txt
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
Technical β Tech
|
| 2 |
Question: Write a function to detect a cycle in a linked list.
|
| 3 |
Possible Answers: 1. Use Floydβs Tortoise and Hare algorithm to detect the cycle. 2. Track visited nodes using a hash set and check for repeats. 3. Traverse the list and check if a node points back to a previous one.
|
| 4 |
Question: How would you design a URL shortening service like Bit.ly?
|
|
|
|
|
|
|
| 1 |
Question: Write a function to detect a cycle in a linked list.
|
| 2 |
Possible Answers: 1. Use Floydβs Tortoise and Hare algorithm to detect the cycle. 2. Track visited nodes using a hash set and check for repeats. 3. Traverse the list and check if a node points back to a previous one.
|
| 3 |
Question: How would you design a URL shortening service like Bit.ly?
|