Skip to content

qml: correct used algorithm for isSortedIntegerArrayConsecutive()

Fatih Uzunoğlu requested to merge fuzun/vlc:qml/correctalgo into master

It appears that the algorithm I used before does not work for an edge case as such:

isSortedIntegerArrayConsecutive([1,2,4,5]): true

Merge request reports

Loading