I don't know if you are looking for feedback or not. If not, ignore this. I have used your answers when I get stuck or am looking for alternative implementations.
|
(output (intersection-set (list 1 2 3 1 1 7 7) (list 2 3 4 1 1 7))) |
What happens when the duplicates are in list b instead of list a? Example;
(intersection-set (list 1 2 3 1 1 7) (list 2 3 4 1 1 7 7))
I don't know if you are looking for feedback or not. If not, ignore this. I have used your answers when I get stuck or am looking for alternative implementations.
sicp/2.3/e-2.60.scm
Line 42 in a3bfbae
What happens when the duplicates are in list b instead of list a? Example;
(intersection-set (list 1 2 3 1 1 7) (list 2 3 4 1 1 7 7))