TIP101 Unit 1 Session 1 (Click for link to problem statements)
Understand what the interviewer is asking for by using test cases and questions about the problem.
Plan the solution with appropriate visualizations and pseudocode.
General Idea: Write a function that takes one list as input and returns that list concatenated with itself.
def concatenate_list(nums): return nums * 2
OR
def concatenate_list(nums): return nums + nums
There was an error while loading. Please reload this page.