Find index span of a sub list from a list

前端 未结 0 1571
说谎
说谎 2020-12-08 16:47

Given a list of string L, and a sublist M from L. I want to find an efficient way to find the index span (index_a, index_b) from L where L[index_a: index_b] = M.

For

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