view stacks_lists/remove_list_duplicates/question.rst @ 2:6bebf4b42ebc

Correctly format the stacks and lists exercices
author Louis Opter <kalessin@kalessin.fr>
date Mon, 01 Jul 2013 23:25:58 -0700
parents
children
line wrap: on
line source

Remove Duplicates From a List
=============================

Write a function that takes a list in input and remove duplicates elements from
the list. The order of the elements in the list must not change.

Twists
------

- Keep the last duplicated element instead of the last one.
- What is the time complexity?