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

SDE - 1

Siemens
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: OOPS, core java, DBMS, SQL & PL/SQL, Data Structures and Algorithms, UI (HTML, JS), SDLC, Java 8 concepts, UML diagrams, Collections, Multithreading, Exception Handling, Hashing, Recursion problems.
Tip
Tip

Tip 1 : Practice more problem solving questions
Tip 2 : understand the comcepts in depth
Tip 3 : try to work on onw or two handson project to get more experience in that stack.

Application process
Where: Other
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1 : Add some good projects on resume
Tip 2 : put things which you know well and not technologies which you don't know.

Interview rounds

01
Round
Easy
Video Call
Duration45 mins
Interview date3 Dec 2022
Coding problem2

1. Count Number of Subsequences

Moderate
15m average time
85% success
0/80
Asked in companies
Goldman SachsHCL TechnologiesTata Consultancy Services (TCS)

Given an array of non-negative integers ‘A’ and an integer ‘P’, find the total number of subsequences of ‘A’ such that the product of any subsequence should not be more than ‘P’.

A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.
Note
You need to print your answer modulo 10^9 + 7.
For Example
Let us take  A = [1,2,3] and P = 4. 
All the subsequences not having product more than ‘4’ are {1}, {2}, {3}, {1,2}, {1,3}. Therefore count is equal to ‘5’.
Problem approach

Given an array of non-negative integers ‘A’ and an integer ‘P’, find the total number of subsequences of ‘A’ such that the product of any subsequence should not be more than ‘P’.
A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.

Try solving now

2. Reverse A LL

Moderate
30m average time
65% success
0/80
Asked in companies
AdobeHCL TechnologiesMicrosoft

Ninjas is practicing problems on the linked list. He came across a problem in which he has given a linked list of ‘N’ nodes and two integers, ‘LOW’ and ‘HIGH’. He has to return the linked list ‘HEAD’ after reversing the nodes between ‘LOW’ and ‘HIGH’, including the nodes at positions ‘LOW’ and ‘HIGH’.

Problem approach

Ninjas is practicing problems on the linked list. He came across a problem in which he has given a linked list of ‘N’ nodes and two integers, ‘LOW’ and ‘HIGH’. He has to return the linked list ‘HEAD’ after reversing the nodes between ‘LOW’ and ‘HIGH’, including the nodes at positions ‘LOW’ and ‘HIGH’.

Try solving now
02
Round
Easy
Video Call
Duration45 mins
Interview date3 Dec 2022
Coding problem2

1. Reverse Words In A String

Easy
10m average time
90% success
0/40
Asked in companies
ProtivitiInfosysTech Mahindra

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Problem approach

You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.

Try solving now

2. OS Questions

What are semaphores?
What is virtual memory?
What do you mean by normalization?
Explain different forms of normalization

Problem approach

Tip 1 : Read Galvin for OS thoroughly.
Tip 2 : Do practice for SQL queries.
Tip 3 : Go through DBMS concepts

Here's your problem of the day

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

Skill covered: Programming

Which SQL clause is used to specify the conditions in a query?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
1 rounds | 3 problems
Interviewed by Siemens
2766 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Siemens
1869 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Siemens
0 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Siemens
1429 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
113894 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57275 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34685 views
6 comments
0 upvotes