SEIMENS interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

SEIMENS
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
After completing the DSA course at Coding Ninjas, I embarked on a journey of consistent and dedicated study, engaging in daily problem-solving sessions. As I honed my skills, my confidence in tackling complex coding challenges grew substantially. Even as campus placements commenced at my college, I maintained a rigorous practice routine while simultaneously working on meaningful projects. Despite facing rejections in earlier opportunities, each setback fueled my determination and contributed to my personal and professional development. Then, the pivotal moment arrived with the opportunity at Siemens Healthineers, marking the culmination of my efforts and perseverance in the pursuit of excellence.
Application story
Siemens Healthineers visited our campus, and I applied, subsequently being shortlisted for the coding round. Following the coding round, two interviews were conducted: a technical interview and a managerial interview. After the managerial round, the results were announced.
Why selected/rejected for the role?
My selection at Siemens Healthineers can be attributed to the substantial impact of my web development projects, which showcased both depth and complexity. With a portfolio featuring two noteworthy projects—one in web development and the other in Android—I demonstrated a diverse skill set and a comprehensive understanding of software engineering principles. During the interview, the intricacies of these projects captured the interviewer's attention and elicited positive feedback. Additionally, my ability to provide prompt and articulate responses played a pivotal role in securing the position. Recognizing the importance of maintaining a friendly and engaging conversation throughout the interview further contributed to the positive impression that ultimately led to my successful selection at Siemens Healthineers.
Preparation
Duration: 4 months
Topics: Data structure, Dynamic Programming, OOPS, System Design, Algorithm
Tip
Tip

Tip 1: Be consistent.

Tip 2: Work on at least 2 projects using different technologies.

Tip 3: Practice important questions, around 200 of them.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1: Keep it short and precise.

Tip 2: Pay attention to extracurricular activities as well.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date26 Jul 2023
Coding problem3

1. Valid Combinations

Moderate
35m average time
65% success
0/80
Asked in companies
AmazonOlaCisco

Choose a stream of data of size A You have B different types of integers from which you have to select the stream of data. You can select an integer multiple times. A valid combination is a stream of data in which there are exactly C integers that are different from the previous integer in the sequence. You are given integers A B. and C The first Integer in the stream of data is not included among the C integers. Print the number of ways Of selecting a valid combination modulo 998244353.

Problem approach

const int mod=938244353;
int memo(int i,int a,int b,int c,vector>&dp){
if(c<0){
return 0;
}
if(i==a){
if(c==0){
return 1;
}
return 0;
}
int &ans=dp[i][c];
if(ans!=-1){
return ans;
}
ans=0;
ans+=memo(i+1,a,b,c,dp)%mod;
ans%=mod;
ans+=(memo(i+1,a,b,c-1,dp)%mod*(b-1)%mod)%mod;
ans%=mod;
return ans;
}
int sol(int a,int b,int c){
vector>dp(2001,vector(2001,-1));
return (memo(1,a,b,c,dp)*b%mod)%mod;
}

Try solving now

2. Board Games

Moderate
10m average time
90% success
0/80
Asked in company
Flipkart

Ankitha enjoys finding new games. One day she found a grid with dimensions and decided to make up a special game to play on it When Ankitha came up with the idea for the new gamer her friend Akhil joined her. She then decided to share and explain the game to him. Akhil is given a grid with dimensions MAN, where each cell contains either 0 or 1. Additionally. he is provided with the coordinates of source and destination cells. You can only move to places whose value is 0. Furthermore, he is given the move rule (x, y) which helps in finding the location for the next move. From the given cell, you can move in four directions (forward, back, right, left), unless they are out of the grid. The rules for finding the next move from a current cell are given below.• For moving forward, add the move rule to the current cell.• For moving right, from the current position add the thGnove rule, rotate the path 90 degrees clockwise,• For moving left, from the current position add the move rule, rotate the path 90 degrees anticlockwise direction.• For moving backwards, from the current position add the move rule, and rotate the path 180 degrees in clock or anti-clockwise. The rules can be understood better from the following example. Let the current cell be (1.1) and the move rule as (1,2)

Problem approach

#include 
using namespace std;

bool check(int x,int y, int n, int m, vector> a){

if(x< n && x>= 0 && y< m && y>=0 && a[x][y]== 0){
return true;
}

return false;
}

int main(){


int n, m;
cin>> n>> m;

vector> a(n, vector(m, 0));
for(int i=0;i> a[i][j];
}
}
int sx, sy, dx, dy;
cin>> sx>> sy;
cin>> dx>> dy;

int mx, my;
cin>> mx>> my;


int level = 0;

queue> q;

q.push({sx, sy});


while(!q.empty()){
int sz = q.size();
while(sz--){
auto node = q.front();
q.pop();

int x= node.first, y = node.second;

if(x== dx && y== dy){
cout< return 0;
}
if(check(x+ mx, y+ my, n, m, a)){
q.push({x+ mx, y+ my});
a[x+mx][y+my] = 1;
}
if(check(x+ my, y- mx, n, m, a)){
q.push({x+ my, y- mx});
a[x+my][y-mx] = 1;
}
if(check(x- my, y+ mx, n, m, a)){
q.push({x- my, y+ mx});
a[x-my][y+mx] = 1;
}
if(check(x- mx, y- my, n, m, a)){
q.push({x- mx, y- my});
a[x-mx][y-my] = 1;
}
}

level++;
}

    return 0;
}

Try solving now

3. Array And A Mathematics Equation

Moderate
20m average time
80% success
0/80
Asked in companies
AdobeUrban Company (UrbanClap)

Ninja has been given a sorted array/list ‘ARR’ of integers of size ‘N’ and 3 integer coefficients ‘X’, ‘Y’, and ‘Z’. Ninja needs to sort the ‘ARR’ by applying the quadratic equation ‘X(ARR[i] * ARR[i]) + Y(ARR[i]) + Z’ to each element of ‘ARR’.

For Example :

Let ‘ARR[]’ = [1, 2, -1] and ‘X’ = 1, ’Y’ =2 and ‘Z’ = 1. Then, for each element at index ‘i’ in the ‘ARR’:
For ‘i’ = 0, ‘ARR[0]’ = 1 and after applying the equation as ‘1 * (1 * 1) + 2 * (1) + 1‘ ‘ARR[0]’ becomes 4.
For ‘i’ = 1, ‘ARR[1]’ = 2 and after applying the equation as ‘1 * (2 * 2) + 2 * (2) + 1‘ ‘ARR[1]’ becomes 9 .
For ‘i’ = 2, ‘ARR[2]’ = -1 and after applying the equation as ‘1 * (-1 * -1) + 2 * (-1) + 1‘ ‘ARR[2]’ becomes 0.
So, ‘ARR’ after modification [4, 9, 0]. The final ‘ARR’ after sorting is [0, 4, 9].

As Ninja is weak with Maths, he asks you for help. Can you help Ninja sort the given ‘ARR’ after applying the quadratic equation to each element?

Try solving now
02
Round
Medium
Video Call
Duration90 minutes
Interview date27 Jul 2023
Coding problem3

The interviewer started with an introduction followed by a simple question on the algorithm. Then I was asked to write a basic code on the OOPS concept. The interviewer was very encouraging and helped me throughout the interview. Also, I was asked a puzzle whose answer made him laugh. After that, I was told to show my project. After this, he asked me how many people are utilizing this website. The interview happened in the afternoon. Overall the interview well really good.

1. Kth largest element in the unsorted array

Moderate
10m average time
90% success
0/80
Asked in companies
FacebookUberMicrosoft

You are given an array consisting of 'N' distinct positive integers and a number 'K'. Your task is to find the kth largest element in the array.

Example:
Consider the array {2,1,5,6,3,8} and 'K' = 3, the sorted array will be {8, 6, 5, 3, 2, 1}, and the 3rd largest element will be 5.
Note:
1) Kth largest element in an array is the kth element of the array when sorted in non-increasing order. 

2) All the elements of the array are pairwise distinct.
Try solving now

2. Write a basic OOPS class

Problem approach

Write a class with few methods and attributes.

3. Aptitude Question

If a fridge has a light bulb inside which glows when the door is opened. How will you tell whether the light is turning off when the door is closed?

Problem approach

Tip 1: Be confident
Tip 2: Be little joking
Tip 3: Think out of the box solution even if it sounds stupid

03
Round
Medium
Video Call
Duration40 minutes
Interview date28 Jul 2023
Coding problem1

This round was a managerial round. Conducted in the afternoon. Lated for only 35 minutes. The interviewer mostly looked over my projects. Also i asked about the copany and the tech stack used.

1. Project Related

The interview looked over my live deployed projects.

Problem approach

Tip 1: Keep the project deployed and show the interview.
Tip 2: Keep the code in github to show the codebase.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which keyword is used for inheritance?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4152 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6195 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3098 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
2659 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15155 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
14997 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9977 views
2 comments
0 upvotes