Rubeque - rubeque.com - Rubeque Problems

Latest News:

Architect of SixCity 8 Jan 2013 | 12:43 am

You are an architect of SixCity. SixCity's architecture is quite special. It has unbreakable rules. There are only 6 types of buildings: Shop, Gym, Theatre, Restaurant, Club & Office. There are 6 buil...

Bigger element 15 Nov 2012 | 02:59 am

Write a method that returns the first even element in a array of integers

Shotgun Assignment 5 Oct 2012 | 04:38 am

There are many ways to assign variables in Ruby. But can you assign values to multiple variables at once?

An Unconventional Join 19 Jul 2012 | 06:44 pm

Recently there was a bug in Rails' Logger that was caused by calling join without passing in any arguments. This is usually ok to do but sometimes it can give you some unexpected results. Try to solve...

Counting Elements in Array 7 May 2012 | 11:27 pm

Count elements in an Array by returning a hash with keys of the elements and values of the amount of times they occur.

Join URL params 7 May 2012 | 10:50 pm

Join parameters to a link.

Battleship 6 May 2012 | 02:40 pm

Assume you are a shooter on a battleship. You are surrounded by enemy's ships. You know that enemy stays inside area 10x10. An enemy's submarine takes 5 cells in a target area. You should play and win...

Defined? Or not? 2 Apr 2012 | 07:07 pm

If the conditional expression returns false, is the 'w' variable defined? Or not?

Shortest Path 29 Mar 2012 | 08:32 pm

Given a set of distances between pairs of locations, a source location, and a destination location, return an array of locations visited when traversing the shortest path between the source and destin...

Transpose Me 29 Mar 2012 | 01:07 am

Given any two matrices (each represented as an array of arrays, where each subarray represents one row of the matrix), return the product of the two matrices. If no product exists for the two matrice...

Recently parsed news:

Recent searches: