
Remove All Before

并非所有元素都重要。您需要做的是从序列中删除给定元素之前的所有元素。
在示例中,我们有一个序列 [1, 2, 3, 4, 5],我们需要删除3 之前的所有元素,即1 和2 。
这里有两种边缘情况(1)如果找不到切分元素,那么序列不应该改变。(2)如果序列为空,则应保持为空。 ...
You should be an authorized user in order to see the full description and start solving this mission.