Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Jeffrey Sevinga
Jeffrey Sevinga
8,497 Points

Hi, im doing createSpaces() Method Solution with Ashley Boucher i don't get solutions on my own

Hi, im doing createSpaces() Method Solution with Ashley Boucher for full stack javascript.

The thing is i do understand it when she explains why and how she does it. But i am not getting to that answer on my own. I get maybe half way with loops and arrays but push it the wrong time or don't create empty arrays when i should.

So my question is does this mean i need to first learn something else until i can figure out the problems for myself. Cause now its doing half of it and then copying the correct answer from Ashley. The courses before i would at least get a proper answer to the problem on my own. Feels like a wall and i don't know if i should just keep going and wait for that Aha.. moment or learn some other basics first.

Does Algorithms and Data Structures help with thinking better about these kinds of things?

Would love to know how people think about this.

1 Answer

Hi Jeffery, very good question, I think you're on the right track but need some more practice. try things on your own for 10m if you don't get it, look at other people's code and learn what you did wrong.

Algorithms and Data Structures are a very important part of any programming language. if you work pro, you will need to know about it. not necessarily everything but it's important.