Greatest Sum Divisible by Three at DE Shaw

Medium57.1% acceptance

This problem has 75.0% frequency at DE Shaw.

Problem Description

Given an integer array `nums`, return _the**maximum possible sum** of elements of the array such that it is divisible by three_.

Read full problem and hints

Topics

Also asked at 5 companies


More DE Shaw Questions

View all DE Shaw questions