Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Non-LeetCode Interview Mix

EasyPython00:00
Practice interviewer
In session
5 left
00:00

Your question is Non-LeetCode Interview Mix. Start with the requirements on the right.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.

Problem

Describe the non-LeetCode style coding interview with multiple questions and a non-web architecture component.

Implement a function that formats the interview components in order. The input contains at least two coding questions and one architecture component. Return one string listing each question with its number, followed by the architecture component.

Function signature: def format_interview(questions, architecture_component):. questions is a list of strings, and architecture_component is a string.

Constraints

  • 2 <= len(questions) <= 100
  • Each question is a non-empty string
  • architecture_component is a non-empty string
  • Preserve the input order and do not alter question text

Function Signature

def format_interview(questions, architecture_component):
Your solutionPython 3
You need to log in / sign up to run or submit.
Run your code to see test output