Given the list
[Red, Green, Blue], access the last element (
'Blue')
clojure (last '[One Two Three Four Five])
(last '[One Two Three Four Five])
Submit a new solution for
clojure
There are 30 other solutions in
additional languages (
cpp,
csharp,
erlang,
fantom ...)