Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Nitesh Kumar Gupta
Nitesh Kumar Gupta
1,410 Points

Ruby Exercise Questions

Hi,

I just completed the ruby basic course here So I want to do some practice on ruby so i need some exercise to do practice Can you help me on this

Thanks

1 Answer

A few options :

Project Euler

Here you can practice on some problems with a mathematical slant. It's language agnostic, so will even be useful after you've mastered Ruby. You don't submit code, however. You do need Ruby installed locally.

HackerRank

There are a number of domains, Ruby being one of them. You can use this site to practice algorithms, data structures, and also Ruby-specific topics. There are often links to supporting materials in the challenges as well. There's a built-in editor, so you do not need to have Ruby installed locally.

Ruby Koans

These are presented in a "make the test case pass" format and may be somewhat redundant to what you've learned here at Treehouse. You do need Ruby installed for these.

Code Katas

These are more like exercises in domain modeling and problem-solving and sometimes don't really involve any coding at all. They will get you thinking about program design, however.

Hope these help ! -Roger