Answers for "ocaml add element to end of list"

0

ocaml add element to end of list

let append_item lst a = lst @ [a]  // O(n)
Posted by: Guest on April-16-2022

Code answers related to "ocaml add element to end of list"

Browse Popular Code Answers by Language