โ† American Express questions

Longest consecutive sequence with zero wildcard and dynamic arrays

Filed under American Express

The question

Find the longest consecutive sequence in an array, handle zeros as wildcards that can represent any number, and explain dynamic array creation and its time complexity.

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

Related American Express questions

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