We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Strings
- Gemstones
- Discussions
Gemstones
Gemstones
Sort by
recency
|
1027 Discussions
|
Please Login in order to post a comment
Java 15
Here are my c++ approaches of solving this problem, video explanation here : https://youtu.be/EjhdJXN3a3c
Solution 1 : Using a list of all possible characters
Solution 2 : Using set of the shortest element of the array of string
Python
JS:
}