Jump to content

Common list elements: Difference between revisions

m
added whitespace.
m (→‎{{header|REXX}}: added some wording to the REXX section header.)
m (added whitespace.)
Line 2:
Given an integer array '''nums''', find the common list elements.
 
 
For example:
;Example:
<br> '''nums''' = [2,5,1,3,8,9,4,6], [3,5,6,2,9,8,4], [1,3,7,6,9]
<br> '''outputnums''' = [2,5,1,3,8,9,4,6], [3,5,6,2,9,8,4], [1,3,7,6,9]
 
'''output''' = [3,6,9]
<br><br>
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.