Could you point us to the original homework question so we can be sure of 
the requirements? Thanks.

On Monday, July 20, 2020 at 12:04:45 PM UTC-4, JJ C wrote:
>
> In Beginning Student with List Abbreviations
>
> I am struggling to come up with functions to remove duplicates from a list 
> while maintaining the order of the list.
>
> one function to remove duplicates from the left,
>
> i.e. 1 2 1 3 2 4 5 -> 1 2 3 4 5
>
> and one from the right.
>
> i.e. 1 2 1 3 2 4 5 -> 1 3 2 4 5
>
> What are the functions for removing duplicates from each left and right 
> side? If you need to, use helper functions and append, cond, cons, equal?, 
> etc but not using reverse or any built-in functions.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/d99af45d-b59c-4878-83b8-c77d145858bbo%40googlegroups.com.

Reply via email to