If you want the maximum element
You just pick the last one O(0)
Or the first one for the minimum
If it's complexity, then it should be O(1).
Anmol
MᏫᎻᎯᎷᎷᎬᎠ
Rounak
Ilya
SenpaiSec
I_Interface
Dima
MilkBeforeCereal
András