Loading...
Engaged Employer
Write an append function in OCaml. (never used OCaml before)
Anonymous
let rec append lst el = match lst with | [] -> [el] | head :: tail -> head :: append tail el;;
For a tail recursive answer, let append list el = List.rev(el::List.rev(list))
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.