Skip to content

Commit

Permalink
Add hint to reverse string
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD committed Feb 4, 2025
1 parent e40e926 commit 3ffa4ce
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,21 @@ It turns out that lots of emojis are acutally made up of other emojis joined tog
In the first example, the family emoji (πŸ‘©β€πŸ‘©β€πŸ‘§β€πŸ‘¦) is made up of two women and two children. When it's reversed you can see the individual characters (πŸ‘¦β€πŸ‘§β€πŸ‘©β€πŸ‘©).

In the second example we have a rainbow and a flag (πŸŒˆβ€οΈπŸ³), but when we reverse the order to get the flag then the rainbow, it becomes a rainbow flag! (πŸ³οΈβ€πŸŒˆοΈ).

## Hints

Click to expand...

<details><summary>Stuck on the Emoji?</summary>

If you use the optimal method to solve this, the emojis should **just** work.
If you use a non-optimal method, you might run into trouble.
So try to simplify your code to solve this.

One method is to get out a pen and paper and reverse the word "robot" manually.
What steps do you take?
Can you do the same using code?

</details>

</details>

0 comments on commit 3ffa4ce

Please sign in to comment.