Deque Generic LinkedList
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Implement a generic Deque.
Implement interface Dequeable<T>.
Implement class MyDeque<T> based on LinkedList data structure that implements interface Dequeable<T>.
interface Dequeable<T> { void push_front(T value); void push_back(T value); T pop_front(); T pop_back(); T front(); T back(); boolean Empty(); int size(); } class MyDeque<T> implements Dequeable<T> { public LinkedList<T> s; ... }
Submissions 208
Acceptance rate 68%