Leetcode 2788. Split Strings by Separator
Given an array of strings and a separator character, split each string by that separator (excluding the separator) and return a flattened array of non-empty tokens in their original order. Empty tokens produced by consecutive/separator-leading/trailing characters should be discarded.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.