You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
In ra màn hình các phần tử có ít nhất 1 phần tử liền kề trái dấu với nó
Input: -1 2 3 -1 5 8 9
Output: -1 2 3 -1 -1 5