daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Sep 18th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def isEmpty(lst): return len(lst) == 0
  2.  
  3. def hd(lst): return lst[0]
  4.  
  5. def tl(lst): return lst[1:]
  6.  
  7. # Return the reverse of lst
  8. def reverse(lst): return []
  9.  
  10. # Find the minimum element of the list
  11. def findMin(lst): return 0
  12.  
  13. # Concatenate every string in the list together
  14. def concatAll(lst): return ""
  15.  
  16. # Return the longest string in a list of strings
  17. def longestString(lst): return ""
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top