Filter interviews by
Memory layout of a C program includes sections like text, data, bss, heap, and stack.
The 'text' section contains the executable code of the program.
The 'data' section contains initialized global and static variables.
The 'bss' section contains uninitialized global and static variables.
The 'heap' is used for dynamic memory allocation.
The 'stack' is used for function call and local variables.
Zombie, Orphan, and Daemon processes are different types of processes in operating systems.
Zombie process is a terminated process that has not been removed from the process table yet.
Orphan process is a child process whose parent process has terminated.
Daemon process is a background process that runs detached from the controlling terminal.
A symbol table is a data structure used by a compiler to store information about the names of variables, functions, and other symbols in a program.
It maps identifiers to information about them, such as their type, scope, and memory location.
Symbol tables are used during compilation to resolve references to symbols and perform semantic analysis.
Examples of symbol tables include the global symbol table in Python and...
Given two strings STR1
and STR2
, determine the length of their longest common subsequence.
A subsequence is a sequence that can be derived from another sequenc...
The task is to find the length of the longest common subsequence between two given strings.
Implement a function to find the longest common subsequence between two strings.
Use dynamic programming to solve the problem efficiently.
Iterate through the strings and build a matrix to store the lengths of common subsequences.
Return the length of the longest common subsequence found.
You are given a string STR
which contains alphabets, numbers, and special characters. Your task is to reverse the string.
STR = "abcde"
"ed...
Reverse a given string containing alphabets, numbers, and special characters.
Iterate through the string from the end to the beginning and append each character to a new string.
Use built-in functions like reverse() or StringBuilder in languages like Python or Java for efficient reversal.
Handle special characters and numbers while reversing the string.
Ensure to consider the constraints provided in the problem statem...
A VLAN (Virtual Local Area Network) is a network of computers that behave as if they are connected to the same physical network, even though they may be located on different segments.
VLANs are used to segment network traffic and improve network performance and security.
They allow for logical grouping of devices regardless of their physical location.
VLANs can be configured to separate different departments within a...
Given a positive integer N
, compute the total number of '1's in the binary representation of all numbers from 1 to N. Return this count modulo 1e9+7 because the result can ...
Count the total number of set bits in the binary representation of numbers from 1 to N modulo 1e9+7.
Iterate through numbers from 1 to N and count the set bits in their binary representation
Use bitwise operations to count the set bits efficiently
Return the count modulo 1e9+7 for each test case
Given an array of integers ARR
of size N, consisting of 0s and 1s, you need to select a sub-array and flip its bits. Your task is to return the maximum count of 1s that can be...
Given an array of 0s and 1s, find the maximum count of 1s by flipping a sub-array at most once.
Iterate through the array and keep track of the maximum count of 1s obtained by flipping a sub-array.
Consider flipping a sub-array from index i to j and calculate the count of 1s in the resulting array.
Return the maximum count of 1s obtained by flipping a sub-array at most once.
Linking is the process of connecting different parts of a program together to create a single executable file.
Linking combines object files generated by the compiler into a single executable file.
There are two types of linking: static linking and dynamic linking.
Static linking includes all necessary libraries and dependencies in the executable file.
Dynamic linking references external libraries at runtime.
Examples ...
Little endian and big endian are ways of storing multibyte data in memory, with little endian storing the least significant byte first and big endian storing the most significant byte first.
Little endian stores the least significant byte first, while big endian stores the most significant byte first.
For example, the number 0x12345678 would be stored as 78 56 34 12 in little endian and 12 34 56 78 in big endian.
Mos...
I appeared for an interview in Dec 2020.
Round duration - 60 minutes
Round difficulty - Medium
Round duration - 40 minutes
Round difficulty - Medium
Given a Binary Search Tree of integers, transform it into a Greater Sum Tree where each node's value is replaced with the sum of all node values gr...
Convert a Binary Search Tree to a Greater Sum Tree by replacing each node's value with the sum of all node values greater than the current node's value.
Traverse the BST in reverse inorder (right, root, left) to visit nodes in descending order.
Keep track of the running sum of visited nodes and update each node's value with this sum.
Modify the BST in place without creating a new tree.
Example: Input BST: 4 1 6 0 2 5 7 -1 ...
You are given the head node of a singly linked list. Your task is to return a pointer pointing to the middle of the linked list.
If there is an odd number of elements, return the ...
Return the middle element of a singly linked list, or the one farther from the head if there are even elements.
Traverse the linked list with two pointers, one moving twice as fast as the other
When the fast pointer reaches the end, the slow pointer will be at the middle
If there are even elements, return the one that is farther from the head node
Handle edge cases like linked list of size 1 or empty list
Round duration - 40 minutes
Round difficulty - Medium
Tip 1 : Do at least some project work.
Tip 2 : Practice at least 250 questions.
Tip 1 : Put some projects on resume.
Tip 2 : Do not put false things on resume.
I appeared for an interview before Mar 2021.
Round duration - 60 minutes
Round difficulty - Medium
After written test , only 4 from Mca and 4 from Mtech were selected for next round.
It was also pure technical round. Interview started just after result was declared. Since there was only two panels, It was taking time.
Given an array of integers ARR
of size N, consisting of 0s and 1s, you need to select a sub-array and flip its bits. Your task is to return the maximum count of 1s that can b...
Given an array of 0s and 1s, find the maximum count of 1s by flipping a sub-array at most once.
Iterate through the array and keep track of the maximum count of 1s obtained by flipping a sub-array.
Consider flipping a sub-array from index i to j and calculate the count of 1s in the resulting array.
Return the maximum count of 1s obtained by flipping a sub-array at most once.
Given a positive integer N
, compute the total number of '1's in the binary representation of all numbers from 1 to N. Return this count modulo 1e9+7 because the result can...
Count the total number of set bits in the binary representation of numbers from 1 to N modulo 1e9+7.
Iterate through numbers from 1 to N and count the set bits in their binary representation
Use bitwise operations to count the set bits efficiently
Return the count modulo 1e9+7 for each test case
NAT stands for Network Address Translation. It is used to translate private IP addresses to public IP addresses.
NAT allows multiple devices on a local network to share a single public IP address.
It enhances security by hiding internal IP addresses from external networks.
Types of NAT include Static NAT, Dynamic NAT, and Port Address Translation (PAT).
A VLAN (Virtual Local Area Network) is a network of computers that behave as if they are connected to the same physical network, even though they may be located on different segments.
VLANs are used to segment network traffic and improve network performance and security.
They allow for logical grouping of devices regardless of their physical location.
VLANs can be configured to separate different departments within an org...
A socket buffer is a temporary storage area in memory used for sending and receiving data over a network.
Socket buffers are used by the operating system to temporarily store data being sent or received over a network connection.
They help in managing the flow of data between the application and the network interface.
Socket buffers can be adjusted in size to optimize network performance.
Examples include TCP send and rece...
A bridge in networking is a device that connects two or more network segments, allowing them to communicate with each other.
Bridges operate at the data link layer of the OSI model.
They use MAC addresses to forward data between network segments.
Bridges help reduce network congestion by only forwarding data to the segment where the destination device is located.
Example: Connecting a wired LAN to a wireless LAN using a br...
Round duration - 60 minutes
Round difficulty - Medium
Technical interview round with questions based on DSA/OS etc.
You are given a string STR
which contains alphabets, numbers, and special characters. Your task is to reverse the string.
STR = "abcde"
"e...
Reverse a given string containing alphabets, numbers, and special characters.
Iterate through the string from the end to the beginning and append each character to a new string.
Use built-in functions like reverse() or StringBuilder in languages like Python or Java for efficient reversal.
Handle special characters and numbers while reversing the string.
Ensure to consider the constraints provided in the problem statement.
T...
Given two strings STR1
and STR2
, determine the length of their longest common subsequence.
A subsequence is a sequence that can be derived from another sequen...
The task is to find the length of the longest common subsequence between two given strings.
Implement a function to find the longest common subsequence between two strings.
Use dynamic programming to solve the problem efficiently.
Iterate through the strings and build a matrix to store the lengths of common subsequences.
Return the length of the longest common subsequence found.
Zombie, Orphan, and Daemon processes are different types of processes in operating systems.
Zombie process is a terminated process that has not been removed from the process table yet.
Orphan process is a child process whose parent process has terminated.
Daemon process is a background process that runs detached from the controlling terminal.
Little endian and big endian are ways of storing multibyte data in memory, with little endian storing the least significant byte first and big endian storing the most significant byte first.
Little endian stores the least significant byte first, while big endian stores the most significant byte first.
For example, the number 0x12345678 would be stored as 78 56 34 12 in little endian and 12 34 56 78 in big endian.
Most mod...
Linking is the process of connecting different parts of a program together to create a single executable file.
Linking combines object files generated by the compiler into a single executable file.
There are two types of linking: static linking and dynamic linking.
Static linking includes all necessary libraries and dependencies in the executable file.
Dynamic linking references external libraries at runtime.
Examples of li...
Memory layout of a C program includes sections like text, data, bss, heap, and stack.
The 'text' section contains the executable code of the program.
The 'data' section contains initialized global and static variables.
The 'bss' section contains uninitialized global and static variables.
The 'heap' is used for dynamic memory allocation.
The 'stack' is used for function call and local variables.
A symbol table is a data structure used by a compiler to store information about the names of variables, functions, and other symbols in a program.
It maps identifiers to information about them, such as their type, scope, and memory location.
Symbol tables are used during compilation to resolve references to symbols and perform semantic analysis.
Examples of symbol tables include the global symbol table in Python and the ...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Top trending discussions
Nuts and bolts game, to output date in a certain format, one SQL query
posted on 20 May 2023
I applied via Recruitment Consulltant and was interviewed in Nov 2022. There were 4 interview rounds.
Six coding questions to be solved within an hour. The coding questions were standard aptitude based and did not include any complex topics like Dynamic Programming or trees in my case.
Convert infix expressions to postfix using the stack data structure for operator precedence and parentheses handling.
Use a stack to hold operators and parentheses while scanning the expression.
Output operands (numbers/variables) immediately to the postfix expression.
Pop operators from the stack to the output when encountering a lower precedence operator.
Handle parentheses: push '(' onto the stack and pop until '(' when...
posted on 29 Apr 2024
I applied via Referral and was interviewed before Apr 2023. There were 2 interview rounds.
Online coding test having basic problems and some aptitude problem.
OOPs stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and methods to manipulate that data.
Encapsulation, inheritance, polymorphism, and abstraction are key principles of OOPs.
Examples of OOPs languages include Java, C++, and Python.
A singleton class is a class that can only have one instance created and provides a global point of access to that instance.
Singleton classes are often used for logging, caching, database connections, and thread pools.
They typically have a private constructor to prevent instantiation from other classes.
They provide a static method to access the single instance, which is created if it doesn't exist yet.
I applied via Recruitment Consulltant and was interviewed before Aug 2023. There were 2 interview rounds.
The current project follows a microservices architecture with Docker containers for scalability and flexibility.
Microservices architecture is used to break down the application into smaller, independent services that can be developed, deployed, and scaled independently.
Docker containers are utilized for packaging the application and its dependencies into a standardized unit for easy deployment and management.
Service di...
Basic coding questions
posted on 22 Jul 2023
I applied via Job Portal and was interviewed in Jun 2023. There were 3 interview rounds.
It has include logical ,reasoning question. Aptitude questions are include mcq type question.
Firstly introduce yourself then HR take the one subject then selected candidate discuss on that subject. Subject related talking positive and negative point. Then who candidate speak better these are select in next round.
posted on 23 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Divisibility, LCM, HCF.
Numbers, Decimals, Fractions, Powers.
Profit, Loss.
Simple interest and Compound interest.
Speed, Distance, Time.
Work and wages.
Trains, Boats, Streams-upstream/downstream, Circular track questions.
Cistern and pipes.
Coding interviews test candidates' technical knowledge, coding ability, problem solving skills, and creativity, typically on a whiteboard.
Choose a topic based on the assignment.
2 Conduct research.
3 Write a thesis statement
posted on 11 Mar 2023
I applied via Campus Placement and was interviewed in Feb 2023. There were 2 interview rounds.
The test was very weird one.
They did have planned anything for the test, They came and given a link on bit.ly and given an another link that is in google form for the answers.
And they selection of people for second round is not sensible.
This round was also be a weird.
They give each candidates with different questions.
They told us to write logic on the paper and you can use internet for your reference.
But after this round they announced the results but that is not in genuine one.
posted on 18 Jun 2024
Understanding basic data structures and algorithms is crucial for predicting outputs in coding challenges.
Data structures like arrays, linked lists, and trees are fundamental.
Algorithms such as sorting and searching are commonly tested.
Example: Predicting output of a sorting algorithm on an array.
Example: Understanding how recursion works in a binary tree traversal.
Medium level problem,
Software Engineer
8
salaries
| ₹8.5 L/yr - ₹14 L/yr |
Senior Software Engineer
5
salaries
| ₹17 L/yr - ₹26.5 L/yr |
Global Edge Software
Moveinsync Technology Solutions
PagarBook
Trawex Technologies