Check If String Is Transformable With Substring Sort Operations
Given two strings s and t, you want to transform string s into string t using the following operation any number of times:
Choose a non-empty substring in s and sort it in ascending order. Determine if it is possible to transform string s into string t.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)