Wiki Template Challenge Solution - thelastmile/FreeCodeCamp GitHub Wiki

Algorithm Article Template

This is the template that you should follow when writing new algorithm solutions or adding content, always make sure the latest version of this template is implemented on your pull request

Algorithm [add name here]

:triangular_flag_on_post: Remember to use Read-Search-Ask if you get stuck. Try to pair program :busts_in_silhouette: and write your own code :pencil:

:checkered_flag: Problem Explanation:

Explain what is asked, in an easy to understand and detailed way.

Relevant Links

:speech_balloon: Hint: 1

Add hint 1 here.

try to solve the problem now

:speech_balloon: Hint: 2

Add hint 2 here.

try to solve the problem now

:speech_balloon: Hint: 3

Add hint 3 here.

try to solve the problem now

Spoiler Alert!

687474703a2f2f7777772e796f75726472756d2e636f6d2f796f75726472756d2f696d616765732f323030372f31302f31302f7265645f7761726e696e675f7369676e5f322e676966.gif

Solution ahead!

:beginner: Basic Code Solution:

// write solution code here

:rocket: Run Code

Code Explanation:

Explain solution here and add any relevant links

Relevant Links

:sunflower: Intermediate Code Solution:

// write solution code here

:rocket: Run Code

Code Explanation:

Explain solution here and add any relevant links

Relevant Links

:rotating_light: Advanced Code Solution:

// write solution code here

:rocket: Run Code

Code Explanation:

Explain solution here and add any relevant links

Relevant Links

:trophy: Credits:

If you found this page useful, you may say thanks to the contributors by copying and pasting the following line in the main chat:

Thanks @username for your help with Challenge: name of the challenge

:clipboard: NOTES FOR CONTRIBUTIONS:

  • :warning: DO NOT add solutions that are similar to any existing solutions. If you think it is similar but better, then try to merge (or replace) the existing similar solution.
  • Add an explanation of your solution.
  • Categorize the solution in one of the following categories — Basic, Intermediate and Advanced. :traffic_light:
  • Please add your username only if you have added any relevant main contents. (:warning: DO NOT remove any existing usernames)

See :point_right: Wiki Challenge Solution Template for reference.