Class Interview Questions
3 interview questions in our bank cover Class, most of them Coding Questions. They average 2.3/5 difficulty — easy — and each one was reported by a candidate after a real interview. Companies known to ask about Class: Rippling, Anthropic, Mobile.
Practice these on the problems board →Companies that ask about Class
Question mix
- Coding Questions2
- Mobile Engineering (Android/iOS)1
Difficulty
- 2/5 — easy2
- 3/5 — medium1
Questions tagged Class
Design a Spotify-like Class
3/5Design a small music-player class that holds a playlist, plays a chosen track, and reports what it currently contains. This Rippling question is an object-design warm-up scored on the interface and the tests: five or more cases are expected, including the awkward ones. You will decide what playing a track that is not in the playlist does, whether duplicates are allowed, and what the summary returns when nothing has been added. Subscribers can read the full problem and the reference class.
Coding QuestionsRipplingPython Class and Data Structures
2/5Assemble a small container class that keeps a unique collection, returns it in order, exposes hash values, and finds an element by halving the search space. This Anthropic warm-up is really about choosing the right built-in for each operation and knowing what each one costs. You will keep the sorted view consistent with the underlying set, decide when to re-sort, and handle lookups for elements that are not present. The full problem and the model implementation are available to subscribers.
Coding QuestionsAnthropicValue Types vs Reference Types in Swift
2/5Mastering the distinctions between custom data containers and shared reference entities is a fundamental Mobile engineering interview topic, frequently encountered in iOS evaluations at major tech firms. This problem examines how copying semantics, memory allocation through automatic reference counting versus stack storage, identity comparisons, and strict mutation rules govern performance and safety. Candidates must evaluate when to leverage isolated structures versus interconnected classes, especially regarding thread safety and view management. Access to the complete architectural breakdown and expert code solutions requires an active platform subscription.
Mobile Engineering (Android/iOS)Mobile
Class interview FAQ
- How many Class interview questions are there?
- 3 reported questions, mostly Coding Questions.
- Which companies ask Class questions?
- Rippling (1), Anthropic (1), Mobile (1).
- How hard are Class questions?
- They average 2.3 out of 5: 2 at 2/5, 1 at 3/5.