adspace
Write a function that takes in two sorted lists and outputs a sorted list that is their union?
Answer Posted / Neetu Pandey
A simple Python solution would be: def union(list1, list2): merged = sorted(list1 + list2) return (list(set(merged)))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category