Explore LLDHub’s public OOP and SOLID tracks, refactor an overloaded logger, and see where sign-in and paid evaluation limit what a guest can verify.

Author: PracHub

Published: 11/28/2026

LLDHub Review: OOP Foundations, SOLID Drills, and Design Practice Access

November 28, 2026

Quick Overview

Explore LLDHub’s public OOP and SOLID tracks, refactor an overloaded logger, and see where sign-in and paid evaluation limit what a guest can verify.

Software EngineerFree

LLDHub gives candidates a route from object-oriented programming to small system design. Its public catalog groups 15 foundation exercises into OOP, SOLID, and patterns, then presents 21 low-level design problems across beginner, intermediate, and advanced levels. If you already know the vocabulary, look at what an exercise requires you to change and which old behavior must survive. LLDHub's overloaded logger is a good place to make that judgment because a candidate can show that formatting changes without disturbing filtering or destinations.

We checked the LLDHub catalog, Learn index, logger workspace and pricing page on November 28, 2026. The examples of its public interface below are observations. Claims about AI evaluation, feedback and paid access come from the provider. The local logger exercise is an original extension with its own tests. We did not submit it for platform evaluation, pay for a plan, verify saved progress, or establish any independent hiring outcomes. PracHub publishes this review and the linked practice material.

Paper with a three-box diagram beside pencils

Follow the catalog from individual rules to a whole system

The catalog begins with five OOP exercises. The examples include encapsulating the pieces of a car, arranging bank users and accounts behind contracts, changing an inheritance-heavy employee design, representing payments polymorphically, and modeling order relationships. The SOLID section follows with five individual principles. The labels provide a useful diagnosis. If you know how to implement a payment class but callers must change every time there is a new payment method, choose an extension exercise. If subclasses expose methods they cannot honor, choose a contract exercise. A progress counter cannot tell you which explanation still needs work. Make that choice using one concrete defect.

The design-pattern track displays five exercises. The Learn index separates its own topics from the problem catalog and includes entries on Factory, Builder, Singleton, Observer and Decorator. It also offers a State Machine Design topic and a Strategy in LLD topic under its full-problem section. The catalog total and the number of topic links describe two different parts of the product. Some topics link to the same practice inventory. Read counts as navigation data and verify the actual lesson or workspace you want.

A guest can see examples such as the catalog's encapsulation and payment prompts, and the Learn index marks several foundation topics Free. Check that label on the exact lesson. The Learn index we saw labels the Single Responsibility and Open / Closed topics Free. Later topics did not all carry the same label. This is useful when choosing an evaluation path. It does not tell you which assessment features are included with the free materials.

One practical progression is to choose one OOP task where a field needs protection, one SOLID task where you can isolate a reason to change, then a system task that combines those decisions across multiple states. For the car example, say what prevents an invalid component replacement. For the logger, say whether a threshold applies to all destinations or to each one. For a full problem, make an old caller repeat an operation after the underlying state has changed. You will learn more from that sequence if you carry one test through the steps instead of changing every part of the design at once.

Inspect the overloaded logger workspace

The Single Responsibility exercise asks you to split a logger that formats records, filters by severity, and writes to console, file, and a database for critical events. LLDHub's prompt separates format and filter responsibilities from the destination handlers. It wants the orchestrating logger to have no format, filter, or I/O logic of its own. Its specific acceptance idea is to change the format by editing the formatter and leave the other pieces alone.

The guest workspace showed a description, a hints control, and tabs or controls named Submissions, Community, Code, and UML. The language menu listed TypeScript, JavaScript, Python, Java and C++. Java was selected in our view. Near the editor the evaluation control read “Sign in to Evaluate.” We did not check each language's starter template, execute code through the service, assess the generated feedback, or test the persistence of any draft. The list of languages is useful for selecting a workspace. It leaves several evaluation questions open, including how code is checked and whether each language is treated identically.

Starting needVisible place to lookConcrete decision
Refresh OOP vocabularyLearn index and linked foundation topics.Confirm you can name the valid operation and who owns it.
Try one SOLID refactorThe public overloaded logger problem.State what should survive a formatter-only change before editing code.
Explore the editor and diagram optionsLanguage menu and Code/UML controls on the guest problem page.Choose the representation you can explain under interview conditions.
Get evaluatedA sign-in prompt on the evaluation control.Verify eligibility, the kind of feedback available, and actual costs separately.

The pricing page markets AI-powered evaluation and interview-style feedback and describes duration-based purchases without auto-renewal. We did not observe a complete set of plan prices, establish which modes a given plan unlocked, or purchase access. Read those lines as provider terms in the public view. Before relying on evaluation, open the exact problem and see what is available for your intended account and language.

Formatting, filtering and writing are separate responsibilities in the logger exercise

Prove that a format change leaves routing intact

Use this independent extension of the logger exercise. Take a tiny stream of three events in increasing severity: INFO job queued, WARN retrying, and CRITICAL job abandoned. Choose a global minimum of WARN. Console and file receive all events above or at that minimum. The database receives only CRITICAL out of those accepted events. Hold the thresholds and destination configuration fixed. Then swap a severity-prefixed text formatter for a tiny structured JSON formatter. This defines a controlled refactor boundary you can actually test.

A record should carry level and message separately. The filter consumes the record's severity. The formatter consumes the record and returns a representation. Destination routing uses the typed event, so a critical handler does not depend on finding a magic word printed by a formatter. If the logger identifies critical messages with a prefix such as CRITICAL: it will fail after changing to JSON or switching the displayed level to a lowercase string. That is an observable coupling between presentation and routing.

InputAfter minimum WARNConsole and fileDatabase
INFO, job queuedFilteredNoNo
WARN, retryingAcceptedYesNo
CRITICAL, job abandonedAcceptedYesYes

In our local fixture, the INFO event was still excluded after the formatter swap, the console and file each received WARN and CRITICAL, and the database received one CRITICAL event. We examined the received payloads to verify that the text and JSON changed while destinations and event identity stayed stable. A separate weak router that checked for a text prefix failed with the JSON formatter. The alternative required a change in routing after what should have been a presentation-only edit.

Give the behavior a crisp signature in an interview. The logger consumes a record and coordinates its dependencies. The filter decides global eligibility. The output handler decides whether a valid event belongs in its destination. A plain in-memory handler makes output observable through captured events. You can then test the threshold without touching a database or assert a database routing rule without examining console whitespace. When the interviewer asks why the abstractions are worth the extra interfaces, point to where a new destination is installed and to the test that should survive its addition.

To check whether the design supports a change, write the assertions at the boundary where the behavior is observable. Compare the ordered record IDs seen by the three sinks in both versions, then compare the payloads separately. A snapshot of one console line can catch the format change but also goes red when the format changes intentionally. Putting the route checks in their own assertions lets the candidate explain what a failing test means. If only the database list changes, investigate how critical events were identified before adjusting the expected JSON text.

There is a possible efficiency question here. If every sink uses exactly the same serialized representation, compute it once per accepted event. If one destination needs a binary format and another needs readable text, pass the typed record into each destination adapter and let the adapter select its formatter. In either version, the decision about who receives the event should inspect the structured metadata it actually needs. Clarify the representation contract before trying to share a string across all handlers.

Add one failure that the diagram cannot settle

After the first pass, have the file destination throw while console and database remain healthy. Define what a caller sees. A best-effort process might try the remaining handlers and return per-destination outcomes. An audit sink might instead require an acknowledged durable write and fail the original operation when delivery cannot be guaranteed. Either policy can be explained in a small design. Pick the one that matches the requirement and include a test with the failed handler first and last.

That failure exercise is our suggested follow-up, outside the hosted task and our measured formatter fixture. Draw a static UML diagram for the responsibilities, then trace the error in sequence. UML can show the orchestrator and its collaborators. The sequence makes it possible to ask whether later handlers run, whether failure becomes visible to the caller, and whether a retry duplicates a console message. An evaluator could discuss these questions in prose. To tell whether it understood the requirement, examine its treatment of the actual test outcome rather than relying on a general label such as “clean architecture.”

Keep the same distinction when moving from this foundation to a larger LLD problem. An Observer implementation may look extensible because routing has a common interface. Once a subscription can change while notifications are active, you also need a rule for who sees an in-flight event. A state machine may look complete because it has a state box for every noun. Once a request is retried, ask which transition is legal after the state has already moved on. The useful skill is demonstrating the changed behavior with a matching test.

Reuse the learning path with five independent exercises

The PracHub records below do not come from LLDHub and do not establish its evaluator's accuracy. They give you neighboring designs where the same habit of isolating a change leads to different implementation decisions.

PracHub questionWhat to test or explain
Design a Logger that passes each message through a list of handlersDefine whether handlers transform a shared message or observe independent entries.
Design a logging library with appenders and log level filteringAssign filtering and storage roles and demonstrate their edge cases.
Extensible Logger with Pluggable Filter, Truncate, Uppercase and Array HandlersAdd a destination and decide how failure reaches the caller.
Extensible Logger With Independent Handlers and Any-Keyword Search Over Stored LogsKeep the search contract separate from output formatting.
Design a notification systemContrast a local sink extension with cross-service delivery guarantees.

Begin with Design a logging library with appenders and log level filtering. Choose one shared threshold, add a destination-specific restriction, and show exactly which outputs survive when formatting changes. LLDHub's public logger prompt is enough to practice that responsibility split. If you need scored feedback on your own solution, check the signed-in evaluation for the exercise you intend to do and judge its usefulness against that same behavior.

Sources and Further Reading


Comments (0)