← Cadence questions

Common elements in sorted arrays and reverse words

Filed under Cadence

The question

Given two sorted arrays of sizes m and n, return a list of common elements, and write a function to reverse words in a string.

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

Related Cadence questions

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