InterviewLegend

Strings & Arrays: Emails, Rhymes & Leaders

Alex Chen35 min readGuide updated

Since late 2025, Accenture's campus coding paper in India has held one DSA problem next to a SQL query and a small web task. That problem rarely goes past medium. At a September 2026 L11 Elite drive for the Advanced Application Engineering Analyst role, one candidate said the questions changed from person to person, some really easy and some medium, and "generally based on Array, string". The result came up on screen right after the test.

This lesson works three array and string problems from recent Accenture OAs, newest first. An email validator came from a new grad OA in September 2026 and a closest-rhyme task from an intern OA in August 2026. Array leaders was on a new grad OA in November 2025. Each version below is something like the real one, and where a rule could go either way, the lesson says which rule it picked.

The Accenture angle
Hidden tests score the paper, and the call on who moves forward is automatic. Easy string and array tasks are where people lose marks to an empty input, a tie or a trailing dot. Before you submit, run the smallest input, the case where two answers tie, and the input that breaks each rule in your statement.

AccenturePremium lesson · Coding round

The 3 Accenture problems are below.

  1. A Premium questionCoding · Easy
  2. A Premium questionCoding · Easy
  3. A Premium questionCoding · Easy

Each with hints, the follow-up and a tested solution.

Get the Accenture questions

$49 a year · all 108 companies · instant access

20,000+ candidate reports

Accenture interview guide

Know what Accenture asks before you walk in.

23 coding · 5 system design · 34 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Accenture interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.