Download 108/solution/_reference.py from PRHW/loom-benchmark-mbpp: direct link, hf CLI and curl.
- Browser
- Download file 173 Bytes
-
https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/108/solution/_reference.py
- Command line
-
hf download hf://datasets/PRHW/loom-benchmark-mbpp/108/solution/_reference.py
-
curl -L -o _reference.py https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/108/solution/_reference.py
173 Bytes
| import heapq | |
| def merge_sorted_list(num1,num2,num3): | |
| num1=sorted(num1) | |
| num2=sorted(num2) | |
| num3=sorted(num3) | |
| result = heapq.merge(num1,num2,num3) | |
| return list(result) |