title | date | draft | tags | categories | |||
---|---|---|---|---|---|---|---|
Algorithm4 Java Solution 1.3.15 |
2019-07-04 05:47:10 +0800 |
false |
|
|
Write a Queue client that takes a command-line argument k and prints the kth from the last string found on standard input (assuming that standard input has k or more strings).
dequeue size - k times, and print the last element dequeue from the stack.