Check If Word Is Valid After Insertion
1. You are given a string s determine if it is valid or not. 2. A valid string is a string that can be created by inserting abc at any index any number of times. Example: aabcbc can be created "" -> "abc" -> "aabcbc" while it is impossible to create abccba.
1: s consists of letters 'a', 'b', and 'c' only.
Input is managed for you
Output is managed for you