Doubly Linked List
CodeChefOpen on judge ↗
You are supposed to implement a doubly linked list with the following operations: I - check for empty condition S - returns size 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, returns “ListEmptyException” if empty, and print list prints “ListEmpty” RL - removes the last element returns
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