DataDriven
LearnPracticeInterviewDiscussDailyJobs

The Grid Pivot

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy
Seniority
L3

Problem

A metrics export arrives as `matrix`, a list of equal-length rows of readings. Return that grid turned on its side, so each original column becomes a row, and return an empty list when `matrix` is empty.

Summary

A different angle reveals a completely different picture.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons