Siemens Interview Experience (Off-Campus)
Last Updated :
22 Sep, 2023
Round 1: HackerEarth Test
Total 22 questions. (19 MCQs and 3 codings)
MCQs were based on the implementation of DS, Time Complexity, prediction of the output, and OOP. No aptitude.
- Coding Question 1: Valid combinations
Select a data stream with a size of A. You have B different types of integers to choose from, and you can select the same integer multiple times. A valid combination is defined as a data stream where there are exactly C integers that differ from the preceding integer in the sequence. You are provided with integers A, B, and C. The initial integer in the data stream is not included among the C integers. Calculate the number of ways to select a valid combination, taking the modulo 998244353 into account.
- Coding Question 2: Perfect Numbers
You are given two integers, “start” and “stop.” The goal is to find the sum of all perfect numbers within the range from “start” to “stop,” inclusive. A perfect number is a number that is divisible by all of its digits.
- Coding Question 3: I don’t remember exactly but it was related to DP.
Round 2: Tech interview 1 (1 hour 45 mins)
Resume-based questions, DSA, OOP, Live Coding of DSA and OOP (inheritance and polymorphism), puzzle (you have 8 identical balls, 7 are of the same weight and 1 weighs less. Find the odd one using mechanical balance)
Round 3: Tech interview (45 mins)
Project discussion OOP, Live Coding of DSA , DBMS (Transaction related questions, ACID vs BASE models), OS(FCFS, multithreading).
Round 4: Managerial interview (30 mins)
generic questions and project discussion.
Verdict: 6 months internship + confirmed FTE offered
Share your thoughts in the comments
Please Login to comment...