Study Guide for Interview
RB109
General Topics
- Mutable and Immutable Objects#
- Logical Operators#
- Ruby’s Comparable#
- Ruby’s gets and chomp#
- Ruby’s ::new Class#
String
- Substrings in Ruby#
- Ruby’s casecmp? Method#
- Ruby’s gsub Method#
- Ruby’s format Method#
- Ruby’s delete and count Method#
- Ruby’s center Method#
- Practice Problems: Substrings Manipulation#
Collections: Array and Hash
- Mutation in Arrays#
- The inject and reduce Method#
- Ruby’s any? Method#
- Difference Between sort and sort_by in Ruby#
- Practice Problems: Arrays Manipulation#
- Practice Problems: Arrays Manipulation#
- Practice Problems: Indexes Manipulation#
Loop
Other
- Ruby’s case Statement One Liner#
- Ruby’s Ternary Operator#
- Practice Problems: Arrays Manipulation#
- Maths Shortcut Tricks for Code#