Design a Common Data Class to Normalize Different API Responses

Quick Overview

Design a common data class that can hold API responses describing the same kind of record but differing in field names, nesting, ID types and timestamp formats, plus the code that maps each response into it. It tests data modeling, normalization, handling of missing and extra fields, and how the records would be stored in a database.

Design a Common Data Class to Normalize Different API Responses

Company: Merge

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: Design a common data class that can hold API responses describing the same kind of record but differing in field names, nesting, ID types and timestamp formats, plus the code that maps each response into it. It tests data modeling, normalization, handling of missing and extra fields, and how the records would be stored in a database.

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

Merge logo
Merge
Oct 2, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
4
0
Loading...