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

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • 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 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
Log inStart free
Members only

Encapsulation

Watch encapsulation step by step with your own numbers, synced code, and sound.

Sign in free to keep learning

You've used your 3 free topics. Create a free account to open Encapsulation and all 113 topics, and keep your progress, XP and streak.

Sign in with Google

or log in with email · create an account

Still open to you

Bubble sort (demo, always open)Constructors and thisData typesLists: many values, one name