Course contentsShow
Java
Lesson 1197 of 2,87027. Queue and Deque ImplementationsPro lesson

Peek Operations: peekFirst and peekLast

Examining elements at both ends of the deque without removal, returning null if deque is empty.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.