Forward to opSlice().front and opSlice().back, respectively.
Complexity: O(log(n))
See Implementation
Forward to opSlice().front and opSlice().back, respectively.
Complexity: O(log(n))