Search found 1 match
- Fri Sep 13, 2013 8:16 pm
- Forum: Common Lisp
- Topic: Some basic lisp functions -trying to teach myself the basics
- Replies: 12
- Views: 29676
Re: Some basic lisp functions -trying to teach myself the ba
Without writing code, what needs to happen is to sort both lists, and reduce to sorted, no duplicates. For each element of list a scan list b from start to an equal or greater than word in list b: if equal word in both lists, if greater word from list a is unique so accumulate. When list a is exhaus...