[CentralOH] DoJo Rumblings: Tonight's Python Challenge (April 11)

Travis Risner deeppunster at gmail.com
Thu Apr 11 16:10:09 EDT 2019


Here is a small problem for us to consider.  At tonight’s DoJo meeting
we will work together to solve this as individuals or small groups.  We
will also discuss the advantages of each approach.

"""
Given a list of possibly overlapping intervals, return a new list of
intervals where all overlapping intervals have been merged.

The input list is not necessarily ordered in any way.

For example, given [(1, 3), (5, 8), (4, 10), (20, 25)], you should
return [(1, 3), (4, 10), (20, 25)].


Source:  Daily Coding Problems (https://www.dailycodingproblem.com/)
"""

DoJo is at Smokehouse Brewing, 1130 Dublin Road, Columbus, Ohio.  Join
us at 6:00 or any time after that!

Travis


More information about the CentralOH mailing list