i
Siemens
Filter interviews by
I appeared for an interview in Oct 2020.
Round duration - 50 Minutes
Round difficulty - Medium
The interviewer asked me to share my screen so that there won't be any chance for any cheating
There were 2 coding questions + 1 Puzzle
Given an array Arr
consisting of N integers, your task is to find the equilibrium index of the array.
An index is considered as an equilibrium index if the sum of elem...
Find the equilibrium index of an array where sum of elements on left equals sum on right.
Iterate through array and calculate prefix sum and suffix sum at each index.
Compare prefix sum and suffix sum to find equilibrium index.
Return -1 if no equilibrium index is found.
Given an array/list of positive integers and an integer K, determine if there exists a subset whose sum equals K.
Provide true
if such a subset exists, otherwise r...
Given an array of positive integers and an integer K, determine if there exists a subset whose sum equals K.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store whether a subset sum of a certain value is possible.
Iterate through the array and update the 2D array accordingly.
Check if the value at the last index of the 2D array is true for the given K.
Round duration - 60 Minutes
Round difficulty - Medium
This round is mainly to check the ML concepts + Discussion on past projects
Tip 1 : Prepare any 4-5 ML algorithms properly, especially maths and intuition behind it because it will help to explain to the interviewer in a more efficient manner
Tip 2 : Past project in ML/DS will have added advantage in resume shortlisting
Tip 3 : Coding is also necessary for ML profile( you can't take it lightly)
Tip 1 : Try to add at least one project to the resume which involves some research
Tip 2 : Try to keep of one page
Top trending discussions
posted on 10 Apr 2022
I applied via Recruitment Consulltant and was interviewed before Apr 2021. There was 1 interview round.
I applied via Company Website and was interviewed in Jan 2021. There was 1 interview round.
posted on 14 Feb 2022
I applied via Naukri.com and was interviewed in Jan 2022. There were 4 interview rounds.
Accessing id parameter in URL involves parsing the URL and extracting the id value.
Use the window.location object to access the URL of the current page.
Parse the URL using methods like split() or URLSearchParams to extract the id parameter.
Example: If the URL is 'http://example.com/page?id=123', you can access the id value by parsing the URL.
I applied via Company Website and was interviewed in May 2022. There were 2 interview rounds.
Find tha Right career for you
posted on 22 Sep 2023
I applied via Approached by Company and was interviewed before Sep 2022. There were 2 interview rounds.
Copy constructor is a special type of constructor which creates a new object as a copy of an existing object.
Copy constructor is used to initialize a new object as a copy of an existing object.
It takes an object of the same class as a parameter.
It is called automatically when a new object is created from an existing object.
Example: class MyClass { public: MyClass(const MyClass& obj) { // copy constructor logic } };
Copy constructor is used to create a new object as a copy of an existing object, while assignment operator is used to assign values from one object to another.
Copy constructor is called when a new object is created from an existing object, while assignment operator is called when an existing object is assigned values from another object.
Copy constructor creates a new object with its own memory space, while assignment o...
A static function is a function that is associated with a class rather than an instance of the class.
Static functions can be called without creating an instance of the class.
Static functions are commonly used for utility functions that do not require access to instance-specific data.
Static functions are declared using the 'static' keyword in many programming languages.
Example: 'Math.max()' in JavaScript is a static fun
Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
Start with 0 and 1 as the first two numbers in the series
Add the previous two numbers to get the next number in the series
Repeat this process to generate the Fibonacci series
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance
Provides a global point of access to that instance
Commonly used in scenarios where only one instance of a class is needed, such as database connections or logging
posted on 14 Dec 2024
I applied via Naukri.com and was interviewed before Dec 2023. There were 2 interview rounds.
Virtual inheritance allows a derived class to inherit from a base class without creating duplicate base class subobjects.
Virtual inheritance is used to resolve the Diamond Problem in C++ where a class inherits from two classes that have a common base class.
It ensures that only one copy of the base class is inherited by the derived class.
Virtual inheritance introduces a virtual base class subobject to the derived class,...
A class for string operations can include methods for concatenation, substring extraction, length calculation, etc.
Create a class with methods like concatenateStrings, extractSubstring, calculateLength, etc.
Use string manipulation functions like substring, concat, length, etc. within the class methods.
Ensure error handling for edge cases like empty strings or out-of-bounds indices.
Example: class StringOperations { conc...
posted on 14 Nov 2024
I applied via Campus Placement and was interviewed in Oct 2024. There were 2 interview rounds.
I have worked on various projects including web development, mobile app development, and data analysis.
Developed a web application using React and Node.js for a client in the e-commerce industry
Created a mobile app using Flutter for tracking daily expenses
Performed data analysis on customer feedback data using Python and SQL
posted on 4 Nov 2024
Senior Software Engineer
1.7k
salaries
| ₹9.4 L/yr - ₹35 L/yr |
Software Developer
1.6k
salaries
| ₹5.2 L/yr - ₹22.5 L/yr |
Software Engineer
1.5k
salaries
| ₹6 L/yr - ₹25 L/yr |
Manager
620
salaries
| ₹8 L/yr - ₹33 L/yr |
Senior Process Associate
463
salaries
| ₹2.2 L/yr - ₹7.2 L/yr |
Schneider Electric
Siemens Energy
Johnson Controls
Honeywell Automation