[Swift] Map 함수 구현해 보기
2018-09-14
안녕하세요! 👋
iOS 개발관련 지식을 공유합니다.
안녕하세요! 👋
A non-empty array A consisting of N integers is given. Array A represents numbers on a tape.
An array A consisting of N different integers is given. The array contains integers in the range [1..(N + 1)], which means that exactly one element is missing.
A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater than or equal to Y. The small frog always jumps a fixed distance, D.
A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of the array can be paired with another element that has the same value, except for one element that is left unpaired.