Solved LeetCode program · 975 of 1,000
#1346 · Check If N and Its Double Exist
Original English source
The numbers is a list of 10, 2, 5, and 3. The found is 0.
For every first from 0 to the last position of numbers.
For every second from 0 to the last position of numbers.
If first is not second and item first of numbers is item second of numbers times 2, set found to 1, stop.
If found is 1, show true, otherwise show false.
Expected stdout
true