Translating Comparison Phrases

Introduction

Why Words Matter

Math problems rarely hand us a neat symbol on a silver platter. Instead, we encounter sentences like "You must be at least 13 to create an account" or "This package weighs less than 50 pounds." Before we can do any math, we need to decode the comparison phrase hiding inside the sentence and convert it to the right symbol.

Getting this translation wrong — even by mixing up "less than" with "at most" — can change whether the boundary value is included or excluded. That small difference, as we saw in our previous lesson, can matter a great deal in real situations like weight limits, age requirements, and spending caps.

Phrases for Strict Inequalities

Phrases for Inclusive Inequalities

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal