Evaluate a Scoped Lisp Expression

Read the full interview experience this question came from →

Quick Overview

Implement an evaluator for a small Lisp-like language with addition, multiplication, sequential let bindings, nested scopes, and variable shadowing. The prompt defines a deterministic grammar, valid-input guarantees, signed integers, and two checked scoping examples.

Evaluate a Scoped Lisp Expression

Company: Attentive

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

Overview: Implement an evaluator for a small Lisp-like language with addition, multiplication, sequential let bindings, nested scopes, and variable shadowing. The prompt defines a deterministic grammar, valid-input guarantees, signed integers, and two checked scoping examples.

Read the full Attentive Software Engineer interview experience this question came from

Attentive logo
Attentive
Sep 2, 2026
mediumSoftware EngineerOnsiteCoding & Algorithms
6
0
Loading...