Q1. How does truthiness work in Ruby, and what is nil?
In Ruby only `nil` and `false` are falsy. Everything else, including `0`, `""`, empty arrays and empty hashes, is truthy. This differs from many languages and is a common...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (1 available).