LinkedList queue = new LinkedList<>(); Why we write node there?
Because we are making linked list of node.