Array-2 (has77) Java Tutorial || Codingbat.com

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Question, can you do this in 1 loop? Starting at index 2 and checking i-1 and i-2? If so why did you use two loops?

ghad