Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

unique in order codewars javascript

unique_in_order('AAAABBBCCDAABBB') == ['A', 'B', 'C', 'D', 'A', 'B']
unique_in_order('ABBCcAD')         == ['A', 'B', 'C', 'c', 'A', 'D']
unique_in_order([1,2,2,3,3])       == [1,2,3]
Source by www.codewars.com #
 
PREVIOUS NEXT
Tagged: #unique #order #codewars #javascript
ADD COMMENT
Topic
Name
5+1 =