Doubly_linked_list_P1
CodeChefOpen on judge ↗
You are supposed to implement a doubly linked list with the following operations: I - check for empty condition P - Prints the list traversed both ways F - Prints the first element of the list AF O - adds first element o, and prints List traversed both ways AL O - adds last element o, and prints List traversed both ways RF - removes the first element of the list RL - removes the last element R - r
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start