GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • All topics
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 20 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
Log inStart free
Gamified challengesSelect Bubbles

Gamified challenge · Asked in Accenture

Select Bubbles

Each bubble holds an arithmetic expression like 15 - 11 or 2 + 3 * 4: whole numbers and + - * / separated by spaces, with the usual precedence (* and / first). Every division is exact and no two bubbles have the same value.

Write popOrder(bubbles) (pop_order in Python) that returns the bubble indexes in ascending order of value. For ["15 - 11", "15 / 5", "2 * 1"] that's [2, 1, 0] (2 < 3 < 4).

Sign in to play Select Bubbles for free

Accenture's round games are free with an account: write your answer in Java or Python, watch it play out, and step through the algorithm.

Sign in with Google

or log in with email · create an account