Insert values into a sorted list while keeping the list sorted

后端 未结 0 419
[愿得一人]
[愿得一人] 2020-12-30 02:20

I need to insert some new values b=[-10, 10, 2, 3] into a=[1,2,3,4,5] and have the inserted result sorted in ascending order.

The desired ou

相关标签:
回答
  • 消灭零回复
提交回复
热议问题