System Engineer
1500+ System Engineer Interview Questions and Answers
Elections are going on, and there are two candidates A and B, contesting with each other. There is a queue of voters and in this queue, some of them are supporters of A and some of them a...read more
You are given two numbers, ‘X’ and ‘Y’. Your task is to find the greatest common divisor of the given two numbers.
The Greatest Common Divisor of any two integers is the largest number that divides both inte...read more
System Engineer Interview Questions and Answers for Freshers
You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair. Each time you can either climb one step or two steps. You are...read more
You are given an array of strings. Your task is to find the number of unique strings.
A string is considered unique if it cannot be formed from any other strin...read more
You are given an array (ARR) of length N, consisting of integers. You have to find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.
A subarray is a ...read more
Given a string 'S' and a list 'wordList' that consists of 'N' distinct words. Let 'Wi' denote word at index 'i' in 'wordList'. For each word 'Wi' in 'wordList', you n...read more
Share interview questions and help millions of jobseekers 🌟
You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.
Note:
Each pair shou...read more
You're given string ‘STR’ consisting solely of “{“, “}”, “(“, “)”, “[“ and “]” . Determine whether the parentheses are balanced.
Input Format:
The first line contains an Integer 'T' which denot...read more
System Engineer Jobs
Q9. Khaled has an array A of N elements. It is guaranteed that N is even. He wants to choose at most N/2 elements from array A. It is not necessary to choose consecutive elements. Khaled is interested in XOR of all...
read moreChoose at most N/2 elements from an array A of N elements and find XOR of all the chosen elements.
Choose the N/2 largest elements to maximize the XOR value.
Use a priority queue to efficiently select the largest elements.
If N is small, brute force all possible combinations of N/2 elements.
You are given an array ‘arr’ of ‘N’ distinct integers. Your task is to print all the non-empty subsets of the array.
Note: elements inside each subset should be sorted in increasing order. But ...read more
You are given a string S containing only uppercase English characters. Find whether S is the same as its reflection in the mirror.
For Example, S = “AMAMA” is the same as its reflection in the mirr...read more
You are given an array of integers. You need to sort the array in ascending order using quick sort.
Quick sort is a divide and conquer algorithm in which we choose a pivot point and partition the arra...read more
Q13. What are oops concepts?
OOPs concepts are the fundamental principles of Object-Oriented Programming.
Encapsulation: Binding data and functions together in a single unit.
Inheritance: Acquiring properties and behavior of a parent class by a child class.
Polymorphism: Ability of an object to take many forms.
Abstraction: Hiding the implementation details and showing only the necessary information.
Example: A car is an object that encapsulates data like speed, fuel, and functions like start, stop, and accel...read more
Q14. 1. Explain about ur tech stacks? 2. What is Class loader? 3. What is Auto Configuration? 4. What is an object? 5. How to handle exceptions in spring? 6. Intermediate vs terminal operation? 7. Get vs Load 8. Wha...
read moreSystem Engineer interview questions covering tech stacks, Java, Spring, Hibernate, REST, and API security.
Tech stacks include Java, Spring, Hibernate, REST, and API security.
Class loader loads classes into JVM at runtime.
Auto Configuration automatically configures Spring beans based on classpath and other conditions.
An object is an instance of a class that has state and behavior.
Exceptions in Spring can be handled using try-catch blocks or using @ExceptionHandler annotation.
I...read more
You are given a Singly Linked List of integers. You need to reverse the Linked List by changing the links between nodes.
Input Format :
The first line of input contains a single integer T, re...read more
You have given a Singly Linked List of integers, determine if it forms a cycle or not.
A cycle occurs when a node's next points back to a previous node in the list. The li...read more
Bob always bragged about his smartness. To test this, Alice gave him an
array ‘A’ of size ‘N’ and asked him to find the number of twin pairs in that array.
A twin pair can be defined as a pair of inde...read more
You have been given an input integer 'N'. Your task is to print the following binary pattern for it.
Example
Pattern for 'N' = 4 1111 000 11 0
The first line contains 'N' 1s. The next line contai...read more
Prateek is a kindergarten teacher. He wants to give some candies to the children in his class. All the children stand in a line and each of them has a grade according to his or her performance in the cla...read more
You are given an integer ‘N’, your task is to generate all combinations of well-formed parenthesis having ‘N’ pairs. You are task is to generate all possible valid sets of parenthesis th...read more
Implement a Trie Data Structure which supports the following two operations:
Operation 1 - insert(word) - To insert a string WORD in the Trie. Operation 2- search(word) - To check if a string...read more
You are given an array/list ARR consisting of N integers. Your task is to find the maximum possible sum of a non-empty subarray(contagious) of this array.
Note: An array C is a subarray of a...read more
Ninja has been given a program to do basic string compression. For a character that is consecutively repeated more than once, he needs to replace the consecutive duplicate occurrences with th...read more
You are given a Singly Linked List of integers. Sort the Linked List using merge sort.
Merge Sort is a Divide and Conquer algorithm. It divides the input into two halves, calls itself for ...read more
Ninja has been given an array/list ‘ARR’ of even size ‘N’ and an integer ‘K’. Ninja gives his friend a task to divide the given ‘ARR’ into ‘N’/2 pairs such that the sum of each pair sho...read more
You have been given an array/list of strings 'inputStr'. You are supposed to return the strings as groups of anagrams such that strings belonging to a particular group are anagrams of one another....read more
A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.
Input Format :
The first line of input c...read more
You have been given an integer array/list(arr) and a number 'Sum'. Find and return the total number of pairs in the array/list which when added, results equal to the 'Sum'.
Note:
G...read more
Ninja is playing with numbers but hates when he gets duplicate numbers. Ninja is provided an array, and he wants to remove all duplicate elements and return the array, but he has to maintain th...read more
A thief is robbing a store and can carry a maximal weight of W into his knapsack. There are N items and the ith item weighs wi and is of value vi. Considering the constraints of the maximum weight t...read more
Ninja is in space with his super spaceship having unlimited fuel. Ninja initially has a health level ‘H’ and his spaceship has an armour ‘A’. He decides to play a game, where at any instant he can ...read more
There is a person named Bob who is the mayor of a state. He wants to find the maximise number of vehicles that can be registered in his state.
A vehicle normally has a registration number like...read more
You are given an array of N integers and an integer K. For each array element, you are allowed to increase or decrease it by a value k. The task is to minimize the difference between the max...read more
You have been given a non-empty grid consisting of only 0s and 1s. You have to find the number of islands in the given grid.
An island is a group of 1s (representing land) connected horizontall...read more
You are given an array, ‘COORDINATES’ that represents the integer coordinates of some points on a 2D plane. Your task is to find the minimum cost to make all the points connect...read more
Given a sorted array of size N, consisting of only 0’s and 1’s. The problem is to find the position of first ‘1’ in the sorted array Assuming 1 based indexing.
It could be possible that the...read more
You are given an array/list 'ARR' consisting of N integers, which contains elements only in the range 0 to N - 1. Some of the elements may be repeated in 'ARR'. Your task is to find all ...read more
What is OOPS? Give an example.
Differentiate between Abstract class and interface and in which scenarios can they be used.
Differentiate between sets and lists
Differentiate between vector and a...read more
Ninja is a poor but an intelligent boy. He has a rod of length ‘N’ units. He wants to earn maximum money by selling this rod in the market. So he cuts the rod into different sizes and each size ha...read more
What are the integrity rules in DBMS?
Q41. How to cut a cake in 8 equal pieces using 3 cuts only?
Cut the cake horizontally twice and then vertically once.
Cut the cake horizontally into two equal halves.
Stack the two halves and cut horizontally again to get four equal pieces.
Finally, cut vertically through the center to get eight equal pieces.
Q42. What is SQL? Explain in detail.
SQL is a programming language used to manage and manipulate relational databases.
SQL stands for Structured Query Language.
It is used to create, modify, and query databases.
SQL is used in various industries such as finance, healthcare, and e-commerce.
Examples of SQL commands include SELECT, INSERT, UPDATE, and DELETE.
SQL is used to retrieve specific data from a database using queries.
Q43. What is Matlab, which tools you have used to perform development and Testing sides, Which type of data types available in Matlab and Embedded C, Difference between Automic Subsystem and Non Automatic Subsystem,...
read moreMatlab is a programming language and environment used for numerical computation, data analysis, and visualization.
Matlab is used for development and testing in various fields such as engineering, finance, and scientific research.
Some tools commonly used in Matlab development and testing are Simulink, MATLAB Compiler, and MATLAB Coder.
Matlab supports various data types including numeric, logical, character, and cell arrays.
Embedded C is a subset of the C programming language u...read more
What is Garbage collector in JAVA?
What is meant by Multitasking and Multithreading in OS?
1) What are the different types of languages that are available in the DBMS?
2) Explain the concepts of a Primary key and Foreign Key.
3) What is the concept of sub-query in terms of SQL?
Q47. How to select a record from a table?
To select a record from a table, use the SELECT statement with appropriate conditions.
Use the SELECT statement with the appropriate columns to retrieve data from the table.
Specify the table name in the FROM clause.
Use the WHERE clause to specify the conditions for selecting the record.
Example: SELECT * FROM table_name WHERE column_name = 'value';
Q48. What is the difference b/w Procedural Programming and OOP Concept? What are the problems with C in this context?
Procedural programming focuses on procedures and functions, while OOP emphasizes objects and classes.
Procedural programming uses a top-down approach, while OOP uses a bottom-up approach.
In procedural programming, data and functions are separate, while in OOP, they are encapsulated within objects.
Procedural programming is more suitable for small-scale programs, while OOP is better for large-scale projects.
C is a procedural programming language, lacking the features of OOP like...read more
Q49. Explain Difference b/w Constructor and Method also write the code which can describe the difference b/w the two?
A constructor is a special method used to initialize an object, while a method is a function that performs a specific task.
Constructors are called automatically when an object is created, while methods need to be called explicitly.
Constructors have the same name as the class, while methods can have any valid name.
Constructors do not have a return type, while methods can have a return type.
Constructors are used to set initial values of instance variables, while methods are use...read more
Q50. What are OOP concepts? Tell me about the pillars of Object Oriented Programming.
OOP concepts are the building blocks of Object Oriented Programming. The four pillars of OOP are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hiding implementation details and showing only necessary information to the user.
Encapsulation: Binding data and functions together to protect data from outside interference.
Inheritance: Creating new classes from existing ones, inheriting properties and methods.
Polymorphism: Ability of objects to take on multip...read more
Interview Questions of Similar Designations
Top Interview Questions for System Engineer Related Skills
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month