'in' for two sorted lists with the lowest complexity

后端 未结 0 1554
死守一世寂寞
死守一世寂寞 2021-01-19 17:06

I have two sorted lists, e.g.

a = [1, 4, 7, 8]
b = [1, 2, 3, 4, 5, 6]

I want to know

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