First element is the leftmost minimum in a sorted array
echo " Minimum ▁ left ▁ : ▁ " , 0 , " STRNEWLINE " ; echo " Minimum ▁ right ▁ : ▁ " , getRightMin ( $ arr , $ n ) , " STRNEWLINE " ; echo " Maximum ▁ left ▁ : ▁ " , getLeftMax ( $ arr , $ n ) , " STRNEWLINE " ;