Quick Overview

Review a compound-word coding prompt that finds words formed by concatenating exactly two other words in the same list. The question focuses on split-point checks, hash sets, deterministic output, trie follow-ups, and avoiding self-use edge cases.

Find Two-Word Compound Words

Company: Amazon

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Review a compound-word coding prompt that finds words formed by concatenating exactly two other words in the same list. The question focuses on split-point checks, hash sets, deterministic output, trie follow-ups, and avoiding self-use edge cases.

Read the full Amazon Software Engineer interview experience this question came from

Loading…