asked
Yagom's Swift Basic Grammar Course
Collection Type
Written on
·
252
0
set은 순서가 없는데
integerSet.removeFirst를 통해
첫번째 값을 어떻게 알고 지우는 거죠?
Answer 1
Set은 중복이 없고 입력한 순서로 저장도 안되는데
removeFirst의미가 있는지 모르겠습니다.