Filter interviews by
Be the first one to contribute and help others!
I applied via Approached by Company and was interviewed in Sep 2024.
I applied via Company Website and was interviewed in Nov 2024.
posted on 26 Oct 2024
posted on 25 Oct 2024
I applied via Approached by Company and was interviewed in Sep 2024.
posted on 20 Nov 2024
Relevant area synapses of preparation through PPT
I applied via Recruitment Consulltant and was interviewed before Dec 2020.
posted on 7 Jun 2024
I applied via Naukri.com and was interviewed in May 2024.
posted on 25 Jun 2024
I applied via Naukri.com and was interviewed in Feb 2024.
I applied via Company Website and was interviewed in Mar 2024.
Verbal Reasoning Test,evaluates the ability to comprehend written information, analyze arguments, and draw logical conclusions. It's useful for roles that require strong communication and critical thinking skills.
Function in Python that takes a list of integers as input and returns the sum of all the even numbers in the list.
# Input
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
# Output
# Sum of even numbers: 2 + 4 + 6 + 8 + 10 = 30
print(sum_even_numbers(numbers)) # Output: 30
Solution:
def sum_even_numbers(numbers):
"""
Calculate the sum of all even numbers in a list.
Args:
numbers (list of int): List of integers.
Returns:
int: Sum of all even numbers in the list.
"""
return sum(num for num in numbers if num % 2 == 0)
# Test the function
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
print(sum_even_numbers(numbers)) # Output: 30
based on 6 reviews
Rating in categories
VA Tech Wabag
Doosan Power Systems
Livguard
R.S. Infraprojects