Skip to content

finanzcheck/martech-coding-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

martech-coding-challenge

Flatten arbitrarily nested list

The goal of this assignment is an algorithm that can flatten an arbitrarily nested list.

Requirements:

  • Items should be in the original order of appearance
  • Null items should be included
  • Empty outer list returns empty list
  • Empty sublist's should be ignored

Add your function to test.py and name it flatten. The function should take the original list a parameter and return a flattened version. Run the unittest to verify your algorithm meets all requirements.

About

Coding challenge for technical interviews

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages