pop all nodes from stack and push them in the beginning of the list
while ( ! stk . empty ( ) ) { push ( stk . peek ( ) ) ; stk . pop ( ) ; } System . out . println ( " Created ▁ DLL ▁ is ▁ : ▁ " ) ; printList ( head ) ; }