undefined method `render_text’ – ruby error
May be this would be the first error one might come across after following some tutorials or books.
Here is the quick fix use
render :text => "what ever to print here"
in place of the
render_text "what ever to print here"
It should solve the problem!
See how you would solve these known algorithm problemsCheck if two strings are anagrams or not
Find the first occurence of number in the sorted array
String Ordered Permutation Algorithm Problem
Array reversal in Recurrsion
Changing decimal number to its binary equivalent
Kadane’s algorithm in C – Dynamic Programming
Implementing tokenizer and adding tokens to the linked list
Java solution for checking anagram strings – tell if phrases are anagrams
Check if there are three numbers a, b, c giving a total T from array A
binary tree problems with solution