Sub sequence occurrence in a string

后端 未结 4 1839
面向向阳花
面向向阳花 2021-01-02 21:23

Given 2 strings like bangalore and blr, return whether one appears as a subsequence of the other. The above case returns true whereas bangalore and brl returns false.

4条回答
提交回复
热议问题