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
- Mars Exploration
- Discussions
Mars Exploration
Mars Exploration
Sort by
recency
|
1055 Discussions
|
Please Login in order to post a comment
Here is my c++ solution, you can find the explanation here : https://youtu.be/Gf0fpGE83r4
My Javascript solution here:
Haskell
for Python3 Platform
def marsExploration(s): # Write your code here repetitions = len(s) // 3 sos_str = "SOS" * repetitions