Skip to content

Instantly share code, notes, and snippets.

@TerryJung
Created August 10, 2023 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TerryJung/7e669106c7690e8d45f1ea5f2ee23a7c to your computer and use it in GitHub Desktop.
Save TerryJung/7e669106c7690e8d45f1ea5f2ee23a7c to your computer and use it in GitHub Desktop.
fun main() {
val array = intArrayOf(5, 4, 3, 2, 1)
val commands = arrayOf(intArrayOf(1, 5, 3))
val result = Solution().solution(array, commands)
println(result.joinToString(", ")) // 정상적인 경우 출력: 3, 하지만 여기서는 다른 값이 출력될 것입니다.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment