Tag Archives: algorithm

How to reverse a String not using built-in reverse method ? How to reverse every word in a sentence? [Ruby]

Hello again! I am continuing answering to your questions, this one came from marthab86_. marthab86_ asks: “I know Ruby has .reverse! , but can you show me how to actually reverse a word or a sentence without reverse ?” I … Continue reading

Posted in Ruby | Tagged , , , , , | 4 Comments