View Problem

Remove the last element of a list

DiskEdit
csharp
List<string> fruits = new List() { "apple", "banana", "cherry" };
fruits.RemoveAt(fruits.Length - 1);
DiskEdit
clojure
(pop ["Apple" "Banana" "Carrot"])

Submit a new solution for go, csharp, or clojure
There are 22 other solutions in additional languages (cpp, erlang, fantom, fsharp ...)