题目

中文

image.png
image.png

英文

题解

第一次

暴力求解也比较麻烦 题解1 的笨办法 使用java中的 合并与排序函数 直接解决。时间复杂度
O((n + m)\log(n + m))