Fri Jun 17 2022 09:27:14 GMT+0000 (Coordinated Universal Time)
Saved by @tonystark
fun main() { val stack = ArrayDeque(listOf(1)) stack.add(2) stack.add(3) println(stack) stack.removeFirst() stack.removeFirst() println(stack) }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments