im trying to solve pancake problem with search algorithms . I need to reverse an array in all its varieties.
for exp ; pancakeList[0,4,2,5,1,3]
my goal is find