Deque in Python

3

Deque can be implemented in python using the module “collections“. Deque is preferred over list in the cases where we need quicker append and pop… Read More »

Quine in Python

3

Quine is a program which takes no input but outputs a copy of its own code. We have discussed quine in C. The shortest possible… Read More »