InterviewLegend

Data & ML Screens: Parentheses, Chasing Points & Naive Bayes

Alex Chen40 min readGuide updated

This lesson is for data engineers, data scientists and machine learning engineers. Disney teams design their own interviews, and data roles lean on Python and SQL, while most recent backend loops use Java. Every problem below names the role it was asked for, so skip the ones that don't match yours.

Newest first. A Data Engineer online assessment asked for generate parentheses in February and March 2026. Late in 2025, a machine learning engineer screen had a chasing-points simulation and a Naive Bayes spam classifier built in a notebook. The Data Scientist screen, from September 2025, ran three small tasks and finished on the longest consecutive sequence. Practice the shape and expect the wording to differ.

The Disney angle
Find out which kind of Python round you have. Disney data loops mix Python coding, SQL and pipeline design, and the mix changes by team. Ask your recruiter whether the coding part is a LeetCode-style problem, a notebook task or a set of Python questions, then prepare that one first.

DisneyPremium lesson · Coding round

The 4 Disney problems are below.

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

+ 1 more in this lesson

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

Get the Disney questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Disney interview guide

Know what Disney asks before you walk in.

27 coding · 6 system design · 16 behavioral questions

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

Get their questions first.

Had your Disney interview?How we research

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