Filter interviews by
Clear (1)
Top trending discussions
Two coding questions
Various design patterns like Singleton, Factory, and Observer are used in my projects.
Singleton pattern ensures a class has only one instance and provides a global point of access.
Factory pattern creates objects without specifying the exact class of object that will be created.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and upd
The reason for change can vary based on factors like technology advancements, business needs, user feedback, etc.
Technology advancements - Updating software to utilize newer technologies for better performance and security.
Business needs - Changing software to align with new business strategies or goals.
User feedback - Making changes based on user suggestions or complaints to improve user experience.
Bug fixes - Address...
I am motivated by the opportunity to learn new technologies and solve complex problems.
Opportunity to work on cutting-edge technologies
Challenge of solving complex problems
Desire for continuous learning and growth
The number of zeros in the factorial of n depends on the number of factors of 5 in n!
Count the number of factors of 5 in n! to determine the number of zeros
For example, in 10! = 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1, there is one factor of 5, so there is one zero at the end
I was interviewed in Jul 2021.
To remove duplicate variables in a string
Iterate through the string and keep track of each character
If a character is already encountered, skip it
Create a new string with non-duplicate characters
I applied via LinkedIn and was interviewed in May 2022. There were 2 interview rounds.
Sort an array of 0s, 1s, and 2s.
Use three pointers to keep track of the positions of 0s, 1s, and 2s.
Traverse the array and swap elements to their respective positions.
Time complexity: O(n), Space complexity: O(1).
It was general apti test 30 questions
Two coding questions were there
I applied via Campus Placement and was interviewed in Aug 2023. There were 3 interview rounds.
One easy and one medium level question
Split a linked list into even and odd without changing order.
Create two new linked lists for even and odd numbers.
Iterate through the original linked list and append nodes to respective even or odd lists.
Finally, merge the even and odd lists to get the desired result.
I applied via Naukri.com and was interviewed before Jun 2019. There were 3 interview rounds.
Implement stack data structure
Use an array or linked list to store elements
Push operation adds element to top of stack
Pop operation removes element from top of stack
Peek operation returns top element without removing it
Global variables are accessible from any part of the program and can be modified by any function.
Global variables are declared outside of any function.
They can be accessed and modified by any function in the program.
If a function modifies the value of a global variable, the new value is visible to all other functions.
Global variables can be useful for sharing data between functions.
However, overuse of global variables
Program to transpose a matrix
Iterate through rows and columns of the matrix
Swap the elements at (i,j) and (j,i) positions
Return the transposed matrix
Pre and post fix operators are used to increment or decrement a value before or after it is used in an expression.
Pre-fix operator (++x) increments the value of x and returns the new value.
Post-fix operator (x++) returns the value of x and then increments it.
Both operators can be used with variables of numeric data types.
They can also be used with pointers to increment or decrement the memory address they point to.
based on 2 interviews
Interview experience
based on 3 reviews
Rating in categories
Software Engineer
53
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
41
salaries
| ₹0 L/yr - ₹0 L/yr |
Application Software Engineer
28
salaries
| ₹0 L/yr - ₹0 L/yr |
Engineer- Customer Support
23
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
20
salaries
| ₹0 L/yr - ₹0 L/yr |
Siemens
Alstom Transportation
CRRC
Hitachi Rail STS