@srestha why so ?
we will make stacks using array i.e. arrays will follow all the properties of stack and then we just have to manipulate these stacks such that they behave like linked list.
when we will give a single operation like insert
then multiple operation will run in these stacks to mimic the behaviour of linked list.
Then simplfy of this question is like this
Create a LL, where each element of LL is a stack :)
Why do we put so much effort, rather just create a LL will solve purpose :)
Can u write simple code or algo for it?
Thanks @Satbir Your implementation looks good.
@Arjun sir ,please confirm if anything is missing in the implementation.