Take-Two Interactive Software, Inc. Interview Questions

Take-Two Interactive Software, Inc. Interview Guides

Click or hover over a slice to explore questions for that topic.
Statistics
(8)
Product Sense & Metrics
(8)
Data Structures & Algorithms
(7)
Machine Learning
(7)
Probability
(4)

Take-Two Interactive Software, Inc. Interview Questions

Practice for the Take-Two Interactive Software, Inc. interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Easy

Given a list of integers, identify all the duplicate values in the list. Assume that the list can contain both positive and negative numbers, and the order of the list does not matter. A number is considered a duplicate if it appears more than once in the list. Return a list of the duplicate numbers.

Example 1:

Input:

nums = [1, 2, 3, 1, 2, 3]

Output:

find_duplicates(nums) -> [1, 2, 3]

The numbers 1, 2, and 3 all appear more than once in the list, so they are considered duplicates.

Example 2:

Input:

nums = [1, -1, 2, 3, 3, -1]

Output:

find_duplicates(nums) -> [-1, 3]

The numbers -1 and 3 both appear more than once in the list, so they are considered duplicates. Note that the order of the output does not matter.

Example 3:

Input:

nums = [1, 2, 3, 4, 5]

Output:

find_duplicates(nums) -> []

None of the numbers in the list appear more than once, so there are no duplicates.

SQL
Easy
Statistics
Easy
Loading pricing options

View all Take-Two Interactive Software, Inc. questions

Challenge

Check your skills...
How prepared are you for working at Take-Two Interactive Software, Inc.?

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion