Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
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.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.