Skip to content

Largest Perimeter Triangle

An Easy coding interview problem in the Greedy pattern.

Likely pattern

Greedy

Commit to the locally best choice when it provably stays optimal.

Recognition cue: A single pass where the best local move never needs to be undone.

Topics

  • Array
  • Math
  • Greedy
  • Sorting
  1. 1Easy
  2. 2Easy
  3. 3Easy
  4. 4Easy
  5. 5Easy
  6. 6Easy
  7. 7Easy
  8. 8Easy