Last in Clojure
https://grishaev.me/clojure-last/
Chat GPT: No, the last function is not particularly expensive for vectors in Clojure. It runs in O(1) time because vectors in Clojure support efficient access to their last element. Meanwhile, Clojure:
You must log in or register to comment.