class Circular{ Node first,last,t; // displaying static class Node{ int data; Node next; } void create(int a[], int n){ first = new Node(); first.data = a[0]; first.next = first; last = first; for(int i=1; i