DEV Community

Cover image for How to Get a Sequence in Order With No Duplicate Consecutive Items

How to Get a Sequence in Order With No Duplicate Consecutive Items

Hello Dev World Blog on January 13, 2021

Day 12! This one was a request. Implement the function unique_in_order which takes as argument a sequence and returns a list of items without any e...
Collapse
 
shwetabh1 profile image
Shwetabh Shekhar

Explained very well. Thanks for sharing!