i
Gen
Filter interviews by
The general bootup process involves power-on self-test (POST), loading the BIOS, initializing hardware, loading the operating system, and launching user applications.
Power-on self-test (POST) checks hardware components for proper functioning
BIOS (Basic Input/Output System) is loaded to initialize hardware and locate the operating system
Operating system is loaded from the boot device (e.g. hard drive, SSD)
User applicati...
The hardest challenge in my current project was managing conflicting stakeholder expectations.
Balancing the needs and demands of different stakeholders
Navigating conflicting priorities and objectives
Finding compromises and solutions that satisfy all parties
Communicating effectively to manage expectations
Example: Dealing with a situation where the marketing team wanted to launch the product quickly, while the developmen...
In my current project, I follow Agile software development practices.
Daily stand-up meetings to discuss progress and roadblocks
Sprint planning and review meetings
Continuous integration and deployment
Use of user stories and acceptance criteria
Regular retrospectives to improve team performance
A function to reverse a string in JavaScript
Use the split() method to split the string into an array of characters
Use the reverse() method to reverse the array
Use the join() method to join the array back into a string
The fopen, fseek, and other file handling functions in Linux are implemented using various techniques and constraints.
fopen function is used to open a file and returns a file pointer
fseek function is used to set the file position indicator
Other file handling functions like fread, fwrite, fclose, etc. are used for reading, writing, and closing files
To handle large files, techniques like memory mapping, buffered I/O, and...
Converting numbers between different bases involves understanding the positional value of digits.
Understand the positional value of digits in the original base.
Divide the number by the new base and keep track of remainders.
Convert remainders to corresponding digits in the new base.
Combine the digits to get the final converted number.
Handling if statements in macros requires careful consideration of syntax and logic.
Use proper syntax and indentation to ensure the if statement is clear and readable.
Consider using nested if statements or logical operators to handle multiple conditions.
Test the macro with different input values to ensure the if statement behaves as expected.
Hex representation of -17 is FFFFFFFF
Convert the decimal number -17 to binary: 17 = 0001 0001
Take the two's complement of the binary number: 1110 1111
Convert the two's complement binary number to hex: FFFF
XOR of 0xFE and 0xEF is 0x11.
XOR operation compares bits of two numbers and returns 1 if they are different, 0 if they are the same.
0xFE in binary is 11111110, 0xEF in binary is 11101111.
Performing XOR operation on 0xFE and 0xEF results in 00010001, which is 0x11 in hexadecimal.
The number of nodes with NULL children in a binary tree with N nodes is N-1.
In a binary tree, each node can have at most 2 children.
The number of NULL children for each node is either 0, 1, or 2.
The total number of NULL children in a binary tree with N nodes is N-1.
One line codes that can cause runtime exceptions
Dividing by zero: int result = 5 / 0;
Accessing index out of bounds: int[] arr = new int[3]; int value = arr[3];
Null pointer exception: String str = null; int length = str.length();
A purchase order is a document issued by a buyer to a seller, indicating types, quantities, and agreed prices for products or services.
Purchase orders are used in business transactions to ensure both parties are in agreement on the terms of the sale.
They typically include details such as item descriptions, quantities, prices, payment terms, and delivery dates.
Purchase orders help track expenses, manage inventory, and p...
The process of purchase involves identifying needs, researching options, making a selection, negotiating terms, and completing the transaction.
Identify the need for a product or service
Research available options and compare prices
Make a selection based on budget and requirements
Negotiate terms such as price, delivery, and payment
Complete the transaction by making the purchase
I enjoy the strategic planning, problem-solving, and cross-functional collaboration involved in product management.
I like the opportunity to work on innovative products and bring them to market.
I enjoy analyzing market trends and customer feedback to make data-driven decisions.
I appreciate collaborating with various teams such as engineering, marketing, and sales to ensure successful product launches.
I applied via Recruitment Consulltant
A mutex is a synchronization primitive that ensures only one thread can access a resource at a time.
Create a mutex object using the appropriate library or language-specific function.
Lock the mutex before accessing the shared resource to prevent other threads from accessing it.
Unlock the mutex after finishing the operation on the shared resource to allow other threads to access it.
Example: pthread_mutex_t mutex; pthread...
Identify memory leak in code
Check for any dynamically allocated memory that is not being freed
Look for any infinite loops or recursive functions that consume memory
Use memory profiling tools like Valgrind to detect leaks
Check for any global variables that are not properly managed
Gen interview questions for popular designations
I applied via Campus Placement and was interviewed before Mar 2023. There were 4 interview rounds.
7 easy coding questions
I applied via Campus Placement and was interviewed before Jul 2023. There were 2 interview rounds.
Databases mcq,coding test in any language and SQL and etl questions
I applied via Company Website and was interviewed in May 2022. There were 2 interview rounds.
Logical reasoning And aptitude test
C++, python and Java programming
Easy problem on java
I applied via Naukri.com and was interviewed in Mar 2021. There were 3 interview rounds.
I applied via LinkedIn and was interviewed in Sep 2020. There was 1 interview round.
I was interviewed before Mar 2021.
To check if a number is a power of 2, we can use bitwise operations.
A power of 2 has only one bit set to 1, so we can use the bitwise AND operator to check if the number is a power of 2.
If n is a power of 2, then n & (n-1) will be 0.
For example, 8 (1000 in binary) is a power of 2, and 8 & 7 (0111 in binary) is 0.
Sort a stack without using another data structure
Use recursion to pop the top element and insert it at the bottom of the remaining stack
Repeat until the stack is sorted in ascending order
Time complexity: O(n^2), space complexity: O(n) due to recursion
Check if array has continuous increasing and decreasing values
Loop through the array and check if each element is greater than the previous one
Once you find the maximum element, check if the remaining elements are in decreasing order
If yes, return true else false
Design a cricinfo (LLD)
Identify the entities: players, teams, matches, scorecards, tournaments, etc.
Define the relationships between entities
Create a database schema to store the data
Implement APIs to fetch and update data
Design a UI to display the information
Consider scalability and performance
Ensure data security and privacy
Top trending discussions
Some of the top questions asked at the Gen interview -
based on 5 interviews
Interview experience
Senior Software Engineer
92
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
75
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Operations Analyst
58
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Software Engineer
37
salaries
| ₹0 L/yr - ₹0 L/yr |
SQA Engineer
28
salaries
| ₹0 L/yr - ₹0 L/yr |
McAfee
Kaspersky Lab
QUICK HEAL TECHNOLOGIES
Seqrite