Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPrep Other Coding Questions Asked by Perplexity
Continue with targeted prep from Perplexity's coding question bank.
Interview Summary
I had a technical phone screen with Perplexity featuring an unusually long, six-part implementation problem that felt more like reading a technical specification than solving a typical coding question. The task was to build a resource reconciliation system that compared desired configurations against stored state and actual remote resources, then generated and executed the necessary changes.
Interview Details
Round 1 — Technical Phone Screen: Resource Reconciliation Engine
The main problem was to implement a resource coordinator responsible for keeping remotely managed resources consistent with a desired configuration. The system involved several core data structures and interfaces:
- Desired Configuration (
desired): Maps each logical resource address to aResourceSpecdescribing the intended attributes. - Stored State (
state): Maps logical addresses toResourceBindingobjects, each containing a remoteresource_idand stored attributes. - Remote Client (
client): Provides aread(resource_id)operation that returns the actual remote resource orNoneif it no longer exists. - Change: Represents an action to perform, including its logical address, action kind, resource ID, and attributes. The action kind is an enum supporting operations such as
CREATE,UPDATE, andDELETE.
The overall objective was to determine what changes were needed and apply them while keeping the persisted bindings synchronized with remote resources.
Part 1 — Generate a CREATE Plan
The first task was to implement a planning function that accepted desired, state, and client, then returned a list of Change objects sorted by logical
Unlock Full Details
Create a free account to unlock this interview experience report.