โ† Veritas questions

Lexicographical maximum substring and triplets sum

Filed under Veritas

The question

Given a string, find the lexicographical maximum substring, and count triplets with a sum smaller than a given value.

No write-up yet. Related questions below have one.

Related Veritas questions

Collected from public candidate posts and coding forums. Updated Nov 2026.