Skip to content

Conversation

@SNU-BlueBerryAde
Copy link

복습해서 문제를 다시 풀어볼 때
배열의 길이, 배열의 리스트에서 서로 위치를 바꿀 때
30초 내로 머리 속에 코드가 잘 떠오르지 않았다.

  1. n = len(arr)
  2. arr[j], arr[j+1] = arr[j+1], arr[j]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants