excuse me, i think.. if try a array= [2,4,9] ,the k=2 this answer=3 but if (9-2) - (4+2) =1 the 1 why not the best smaill ?? thks!
excuse me, i think.. if try a array= [2,4,9] ,the k=2
this answer=3
but if (9-2) - (4+2) =1
the 1 why not the best smaill ??
thks!