1. Find the maximum integer in a list of integers.
Example: (list-max ‘(1 11 3 7 9)) → 11
2. Searchanon-flat list to determine if a value is there.
Example: (in-list? ‘a ‘(7 “a” (b (c a)) () (d d))) → #t
3. Determine if a list of integers is in ascending order.
Example: (sorted? ‘(-1 1 2 3 7 9)) → #t
1. Find the maximum integer in a list of integers. Example: (list-max ‘(1 11 3 7 9)) → 11 2. Searchanon-flat list to det
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am