(int k)
| 5 | int capacity; |
| 6 | int deque[]; |
| 7 | public MyCircularDeque(int k) { |
| 8 | deque = new int[k]; |
| 9 | front = 0; |
| 10 | rear = k-1; |
| 11 | size=0; |
| 12 | capacity = k; |
| 13 | } |
| 14 | |
| 15 | public boolean insertFront(int value) { |
| 16 | if(isFull()){ |
nothing calls this directly
no outgoing calls
no test coverage detected