Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果给定一个 int 列表,如何在 OCaml 中将 int 列表中的每个元素一一插入到给定的二叉搜索树中?
let insert_list = List.fold_left insert_element empty_tree