Ai camp Interview Questions

Ai camp Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(87)
Machine Learning
(56)
SQL
(29)
Probability
(28)
Product Sense & Metrics
(20)

Ai camp Interview Questions

Practice for the Ai camp interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Medium

You are given a list of integers called numbers. Write a function to return any subset of numbers where the elements sum to zero and that does not contain the number 0.

If there are no combinations of elements that sum to zero, return an empty list.

Example 1:

Input:

numbers = [1,-2,6,7,1]

Output:

def zero_sum(numbers) -> [1,-2,1] # only possible combination

Example 2:

Input:

numbers = [0,0,1,3,6,-4,-1]

Output:

def zero_sum(numbers) -> [1,3,-4]

or

def zero_sum(numbers) -> [1,-1]

or any other subset that sums to zero and doesn’t include 0.

SQL
Easy
SQL
Easy
Loading pricing options

View all Ai camp questions

Challenge

Check your skills...
How prepared are you for working at Ai camp?

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