Diff Two Technology Radar Editions by Ring Movement

Last updated: November 29, 2026

Quick Overview

Given two editions of a technology radar as lists of (name, quadrant, ring) entries, report which entries are new, which were dropped, which moved toward Adopt and which moved toward Hold, matching names case-insensitively.

Thoughtworks
Coding & Algorithms
Software Engineer
Thoughtworks
November 29, 2026
Software Engineer
Phone Screen
Coding & Algorithms
Easy

0

0

0 solved


Given two editions of a technology radar as lists of (name, quadrant, ring) entries, report which entries are new, which were dropped, which moved toward Adopt and which moved toward Hold, matching names case-insensitively.

The Technology Radar is Thoughtworks' best known publication, so a small data-wrangling warm-up around it fits a phone screen. The interviewer checks clean use of dictionaries, a sensible ring ordering, normalisation of names, and readable output.

What the Interviewer Expects
  • Encodes ring order explicitly (Adopt, Trial, Assess, Hold)
  • Normalises names (trim, lowercase) for matching
  • Uses dict lookups for linear time
  • Separates the four outcome categories clearly
  • Returns deterministic, sorted results
Key Topics to Cover
Hash maps
Set difference
Data normalisation
Ordering
How to Approach This
  1. Clarify input constraints and edge cases before writing code.
  2. Walk through your approach verbally and confirm with the interviewer before coding.
  3. Start with a brute force solution, then optimize. Mention time and space complexity.
  4. Test your solution with examples, including edge cases like empty input or duplicates.
  5. Consider common patterns: sliding window, two pointers, hash map, BFS/DFS, dynamic programming.
Possible Follow-up Questions
  • How would you also report quadrant changes?
  • Entries are sometimes renamed. How could you detect likely renames?
  • How would you show how long each entry has stayed in its ring across many editions?
  • How would you validate input with an unknown ring value?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice DSA Problems
Sample Answer
Requirements

Inputs are two lists of tuples. Names may differ in case or whitespace between editions. Moving from Trial to Adopt is moving in; Assess to Hold is moving out. Output a dict with four sorted lists....

High-Level Design

Index each edition by normalised name. Entries in current but not previous are new; in previous but not current are dropped. For shared names compare ring ranks via a map from ring to integer, with lo...


Submit Your Answer
Markdown supported

Related Questions