Given a list of numbers, this Python program finds the first unique element in the list. For example, given the input [1, 2, 3, 4, 5, 1, 2 , 3, 4], the output would be 5.

113

Jan 31
This Python program finds the sum of the even-numbered elements in a list. For example, given the input list [1, 2, 3, 4, 5], the program would output 6.

109

Jan 31
This problem is about returning a list of odd numbers from a given list of integers. For example, given the input list [1, 2, 3, 4, 5], the output would be [1, 3, 5].

107

Jan 30
This technical problem involves implementing a function that takes in a list of numbers and an asynchronous function, and returns a list of the results of the function applied to each number in the list.

110

Jan 30
This technical problem deals with finding all possible permutations of a list of integers in Python. An example input would be [1, 2, 3] and the corresponding output would be [[1 , 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1] ].

118

Nov 25
To find the sum of all numbers divisible by 3 in a list, we can simply iterate through the list and add up all the numbers that are divisible by 3.

133

Nov 24
This problem asks for a function that takes in a list of tasks and a list of dependencies and outputs the order in which the tasks should be completed. An example input and output are given.

95

Nov 21
This problem asks the user to return the sum of all the even numbers in a list. An example input would be [1, 2, 3, 4, 5], and the corresponding output would be 6.

126

Nov 20