# Basic algorithm challenges

**URL:** <https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067>\
**Category:** General\
**Created:** [August 4, 2017, 8:15pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067 "2017-08-04T20:15:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zentko](https://avatars.discourse-cdn.com/v4/letter/z/7993a0/32.png) [@zentko](https://forum.freecodecamp.org/u/zentko)\
**Post date:** [August 4, 2017, 8:15pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067/1 "2017-08-04T20:15:59Z")

</div>

I began doing the basic algorithms challenges and solved three of them with success similar to intermediate answers and failed the rest because I was frustrated and took a peek at the spoilers. How bad will this set me back, wish there were more to do at the same difficulty.

---

<div class="post-metadata">

**Author:** ![Omegga](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/omegga/32/97940_2.png) [@Omegga](https://forum.freecodecamp.org/u/Omegga)\
**Post date:** [August 4, 2017, 9:17pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067/2 "2017-08-04T21:17:46Z")

</div>

Check [codewars.com](http://codewars.com) website for more algorithms, there are easy and difficult ones. By the way, once you solve one of them, you can take a look at others solutions.I learned a lot this way.

---

<div class="post-metadata">

**Author:** ![wtkwon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/wtkwon/32/64867_2.png) [@wtkwon](https://forum.freecodecamp.org/u/wtkwon)\
**Post date:** [August 4, 2017, 9:47pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067/3 "2017-08-04T21:47:43Z")

</div>

It’s not a failure if you took the time to actually understand those solutions. I was only able to solve about half of the basic ones by myself and the rest I had to look up and understand other people’s solutions. When I started intermediate, i finished 4/7 of the algorithms in a little less than a week by myself. That’s because I took the time to understand others solutions in basic. I also went back and redid the basic though before starting intermediate to prove to myself I can do it.

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [August 6, 2017, 4:11pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067/4 "2017-08-06T16:11:37Z")

</div>

You wouldn’t be the first to take a peek at the answers.

The most important thing is: learn. Try hard to solve the problem. Try a couple of times. If you can’t do it, start looking for hints. When you’ve finished, do you really understand what you did? Could you do it again from memory if you had to? Could you do it in a week?

---

<div class="post-metadata">

**Author:** ![midnightmarauder](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/midnightmarauder/32/52657_2.png) [@midnightmarauder](https://forum.freecodecamp.org/u/midnightmarauder)\
**Post date:** [August 6, 2017, 4:22pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067/5 "2017-08-06T16:22:02Z")

</div>

Take a look at [https://projecteuler.net](https://projecteuler.net) I’ve been solving the problems on that website for a while now and theres tons of problems with different levels of difficulty to look at.

---

<div class="post-metadata">

**Author:** ![anon52159105](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anon52159105](https://forum.freecodecamp.org/u/anon52159105)\
**Post date:** [August 6, 2017, 4:24pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067/6 "2017-08-06T16:24:26Z")

</div>

> [@ksjazzguitar](#):
>
> You wouldn’t be the first to take a peek at the answers.

I agree with this. Often you’ll need to look to come up with a solution of your own - make sure you understand the code then refactor the code to make the process more efficient where possible.

> [@Omegga](#):
>
> Check [codewars.com](http://codewars.com) website for more algorithms, there are easy and difficult ones. By the way, once you solve one of them, you can take a look at others solutions.I learned a lot this way.

Codewars is pretty fun 🙂

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 1:06pm UTC](https://forum.freecodecamp.org/t/basic-algorithm-challenges/140067/7 "2021-01-16T13:06:46Z")

</div>

Closed on January 16, 2021, 1:06pm UTC


