跳轉至內容

99 Elm 問題/問題 57

來自維客書,一個開放世界的開放書籍

使用一個整數列表構造一個二叉搜尋樹。

# # # 這是一個存根 # # #

Example in Elm:
import Html exposing (text)
import List

f : Int -> Int
-- your implementation goes here

main = text (toString (f 0))

結果

4

解決方案

華夏公益教科書