跳轉到內容

99 道榆樹問題/問題 19/解決方案

來自華夏公益教科書,一個開放世界的開放書籍

解決方案 1:使用 List.dropList.take

rotate n list = List.drop n list ++ List.take n list
華夏公益教科書