Apple SSE Screening Round

Posted
24 Feb 2026
465 reads

Summary

I experienced a screening round at Apple where I was given a string manipulation problem involving generating all possible pretty odd statements from a nested list of words.

How it went

I was given a string manipulation problem during my Apple SSE screening round. The problem involved generating all possible "pretty odd statements" from a given input structure.

The input structure was:

{
{"The", "A"},
{"dog","cat"},
{"runs","walks"},
{"quickly","slowly"},
{".","!"}
}

Expected Output:
The dog runs quickly.
The dog runs slowly.
The dog walks quickly.
The dog walks slowly.
The cat runs quickly.
The cat runs slowly.
The cat walks quickly.
The cat walks slowly.

I then provided a Java solution to this problem.

Questions asked (1)

  1. 01

    Generate Pretty Odd Statements

    Data Structures & Algorithms · Medium

    Given a nested list of strings, generate all possible "pretty odd statements" by taking one word from each inner list and concatenating them. The order of inner lists must be maintained.

    Input Example:

    {
    {"The", "A"},
    {"dog","cat"},
    {"runs","walks"},
    {"quickly","slowly"},
    {".","!"}
    }

    Expected Output:
    The dog runs quickly.
    The dog runs slowly.
    The dog walks quickly.
    The dog walks slowly.
    The cat runs quickly.
    The cat runs slowly.
    The cat walks quickly.
    The cat walks slowly.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Apple recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!