For this, the method used is to iterate though the array with a for loop and collect the max and min.
XXX XXX XXXXXXXX file for an example.
2. XXX number XX odd and even inputs
While iterating through XXX array you XXX also XXXXXXX XXXXX values by have XXX XXXXXXXX XXXXXX 'XXX' and 'even'. When you get a XXXXXX that XX XXX, you add XXX to XXX XXX 'odd' variable. To see if a value XX odd or XXXX, you XXX XXX XXXXXXXXX of the XXXXX XXXX XXXXXXX by two. For example, 46 % X == X XXXXXXX XXXX it XX even. XXXX, 3 % X == X XXXXX XXXXX XXXX XX is XXX.
3. Cumulative totals. XX XXX XXXXX is 1 7 2 X, the XXXXXXX XXXXXX X X 10 XX.
XX XXXXX XXX sum XX the variable, you can iterate through the XXXXXXXX print XXX XXXXX XX the end of XXXX XXXXXXXXX.
X. XXX XXXXXXXX duplicates. If XXX XXXXX XX 1 3 X X X X 6 6 X 2, XXX output XX X X X. Bonus for those XXX XXXXXXX for XXXXXXXX adjacent XXXXXXX XXXX 6 X 6.
For XXXX, you XXXX XX XXX current XXXXXX and the number XXXXX it equal the same. XX XXXX XX, XXXX add them to an XXXXX.
XXXXX, see XXX attachment for a better XXX more XXXXXX explanation.