Repo | Number of Open Issues |
---|---|
rest-api-sdk-php | 18 |
PayPal-Android-SDK | 15 |
PayPal-iOS-SDK | 12 |
Windows8SDK | 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def merge_interval(low_priority_lst,high_priority_lst): | |
''' | |
Given two lists with date ranges, return merged list with high_priority_lst ranges preferred over | |
preferred over low_priority_lst ranges in case of intersection. Partial intervals are allowed. | |
''' | |
if low_priority_lst == [] or low_priority_lst == None: return high_priority_lst | |
if high_priority_lst == [] or high_priority_lst == None: return low_priority_lst | |
# k way merge interval, also may need to mark which array it belongs to | |
# case : |-------| |
NewerOlder