Filter interviews by
Banker's algorithm is a deadlock avoidance algorithm used in operating systems.
It is used to avoid deadlock in a multi-process system.
It works by checking if a request for resources will leave the system in a safe state.
It uses a matrix to represent the current state of the system and the maximum resources each process can request.
If the request can be granted without leaving the system in an unsafe state, it is grante...
Page Replacement Algorithm is used to decide which page to remove from memory when new page is to be loaded.
It is used in operating systems to manage memory.
It is based on the principle of locality of reference.
Examples include FIFO, LRU, Optimal, etc.
Compiler stages include preprocessing, compilation, assembly, and linking. Symbol table stores information about identifiers.
Preprocessing stage handles directives like #include and #define
Compilation stage translates source code to assembly language
Assembly stage converts assembly code to machine code
Linking stage combines object files and libraries into an executable
Symbol table stores information about identifiers l
Intersection of two lists in Java
Convert lists to sets and use retainAll() method
Iterate through one list and check if element is present in other list
Use Java 8 streams and filter() method
I am excited about the challenging work culture and the opportunity to learn and grow at DE Shaw.
DE Shaw has a reputation for being a leader in the finance industry
I am impressed by the company's commitment to innovation and technology
I believe DE Shaw's collaborative work environment will allow me to learn from and work with some of the best minds in the industry
Inorder traversal is a way of visiting each node in a binary tree in a specific order.
Start at the leftmost node and traverse the left subtree recursively.
Visit the current node.
Traverse the right subtree recursively.
Repeat until all nodes have been visited.
Inorder traversal is commonly used to print the nodes of a binary search tree in sorted order.
Calloc initializes memory with zero while malloc does not.
Calloc allocates memory and initializes it with zero
Malloc allocates memory but does not initialize it
Calloc is useful for allocating memory for arrays
Malloc is useful for allocating memory for single variables
Heap and stack are two memory allocation areas in a program.
Heap is used for dynamic memory allocation and is managed by the programmer.
Stack is used for static memory allocation and is managed by the system.
Heap memory is allocated using 'new' keyword in C++ and 'malloc' function in C.
Stack memory is allocated automatically for local variables and function calls.
Heap memory is not automatically deallocated and can cau...
posted on 19 Dec 2024
Generate the first 50 prime numbers
Start with the first prime number, 2
Use a loop to check for prime numbers by dividing each number by all numbers less than it
Keep track of the prime numbers found until you have 50
Simple aptitude question
Loops, basic binary search programme
I applied via Naukri.com and was interviewed before Feb 2023. There were 3 interview rounds.
Use indexing to access individual characters from a string.
Use square brackets and the index number to access a specific character in the string.
Remember that indexing starts at 0 in most programming languages.
Example: str = 'hello', to get the first character 'h', use str[0].
Number of islands in a matrix
Design data recovery system
50questions in 50 minutes 10 questions from Maths and Reagioning
When you search Google, it retrieves relevant information from its index and displays results based on the search query.
Google retrieves information from its index of web pages
Results are displayed based on relevance to the search query
Search results may include websites, images, videos, news articles, and more
I applied via Naukri.com and was interviewed in Apr 2022. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
A webservice is a software system designed to support interoperable machine-to-machine interaction over a network.
Webservices use standardized protocols such as HTTP, XML, SOAP, and REST.
They allow different applications to communicate with each other regardless of the programming language or platform used.
Webservices can be used for a variety of purposes such as data exchange, business process integration, and applica...
API is a set of protocols for building software while Webservice is a type of API that uses HTTP for communication.
API is a set of protocols for building software applications
Webservice is a type of API that uses HTTP for communication
API can be used for both internal and external communication
Webservice is typically used for external communication over the internet
API can be in any form like REST, SOAP, etc.
Webservice
Pesticide paradox refers to the phenomenon where pests develop resistance to pesticides over time.
Pesticides are used to kill pests, but over time pests develop resistance to them
This happens because the pests that are resistant to the pesticide survive and reproduce, passing on their resistance to their offspring
This can lead to the need for stronger and more toxic pesticides, which can have negative environmental and...
Analyst
166
salaries
| ₹9.8 L/yr - ₹30.4 L/yr |
Senior Analyst
146
salaries
| ₹10.8 L/yr - ₹41 L/yr |
Manager
70
salaries
| ₹14 L/yr - ₹52 L/yr |
Project Lead
53
salaries
| ₹25 L/yr - ₹94 L/yr |
Member Technical Staff
48
salaries
| ₹11.5 L/yr - ₹42.5 L/yr |
Goldman Sachs
Morgan Stanley
Citadel
Blackrock