#Array Manipulation

5 messages · Page 1 of 1 (latest)

swift geode
#

Input:
arr = [3, 1, 2, 4, 1, 3, 1, 4, 5]

Visualization:
░ ░ ░
░░░░░░ ░ ░
█░█░█░█░█░█░█
█░█░█░█░█░█░█
█░█░█░█░█░█░█
█░█░█░█░█░█░█
█░█░█░█░█░█░█

Output:
?

strange portal
#

??????

#

how does the white vertical bar represent 3?

#

u know what

#

i'm done