i
Pluralsight
Filter interviews by
Binary heap is used to implement a priority queue.
Binary heap is a complete binary tree where each node has a value greater than or equal to its children.
It can be implemented using arrays, where the parent of node at index i is at index (i-1)/2.
Insertion and deletion operations have time complexity of O(log n) in a binary heap.
A binary tree can have any number of nodes, but the maximum number of trees with n nodes is 2^n.
A binary tree can have 0 nodes, 1 node, 2 nodes, or any number of nodes.
The maximum number of binary trees with n nodes is 2^n.
For example, a binary tree with 3 nodes can have up to 8 different structures.
Use a SQL query to find the second highest marks in a student database.
Use the ORDER BY clause to sort the marks in descending order
Use the LIMIT clause to limit the result to the second row
Program to check if two strings are anagrams
Create a function that takes in two strings as input
Remove any spaces and convert both strings to lowercase for consistency
Sort the characters in both strings and compare if they are equal to determine if they are anagrams
Example: 'listen' and 'silent' are anagrams
Top trending discussions
I appeared for an interview before Apr 2021.
Round duration - 90 minutes
Round difficulty - Easy
It was on online objective test consisting of 4 sections: Aptitude, Technical MCQs, Code snippet based MCQs and Coding part.
Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.
The first line contains an...
Determine if a given singly linked list of integers is a palindrome. Return true
if it is a palindrome, otherwise return false
.
1 -> 2 -> ...
Check if a given singly linked list of integers is a palindrome.
Use two pointers to find the middle of the linked list.
Reverse the second half of the linked list.
Compare the first half with the reversed second half to determine if it is a palindrome.
Round duration - 60 minutes
Round difficulty - Easy
This was a technical and managerial round. The interviewer gave me a situation where I am in testing team and I found that customer requirement was drop down list at a place but developer has used bullet selection, and is not ready to change it. How will you manage? I gave some good replies and he was convinced.
Abstract classes in C++ are classes that cannot be instantiated and are designed to be base classes for other classes.
Abstract classes may contain pure virtual functions, making them incomplete and unable to be instantiated.
Derived classes must implement all pure virtual functions from the abstract class in order to be concrete classes.
Abstract classes can have non-virtual functions and member variables like regular cl...
Round duration - 60 minutes
Round difficulty - Easy
This was also a technical round. He asked to optimize the code I wrote in coding round. Then he asked me a few puzzles and questions on OOPS, OS and DBMS.
Paging and segmentation are memory management techniques in operating systems.
Paging divides physical memory into fixed-size blocks called pages, while segmentation divides logical memory into variable-size segments.
Paging allows for efficient memory allocation and management, while segmentation provides protection and sharing of memory.
Paging is simpler to implement but can lead to internal fragmentation, while segmen...
Concurrency control is a technique used in databases to manage simultaneous access and modification of data by multiple users or processes.
Concurrency control ensures that transactions are executed in a way that maintains data consistency and integrity.
Techniques like locking, timestamp ordering, and optimistic concurrency control are used to implement concurrency control.
For example, in a banking system, concurrency c...
String Buffer is synchronized and thread-safe, while String Builder is not synchronized and faster.
String Buffer is synchronized, making it thread-safe for use in multi-threaded environments.
String Builder is not synchronized, resulting in faster performance but not thread-safe.
String Builder is preferred for single-threaded operations, while String Buffer is preferred for multi-threaded operations.
Smart pointers in C++ are objects that act like pointers but provide automatic memory management.
Smart pointers help prevent memory leaks by automatically managing memory allocation and deallocation.
Examples include unique_ptr, shared_ptr, and weak_ptr.
unique_ptr is used for exclusive ownership, shared_ptr for shared ownership, and weak_ptr to prevent circular references.
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.
Program for snake traversal of binary tree
Use a stack to keep track of nodes to be visited
Start with the root node and push it onto the stack
While the stack is not empty, pop a node and print its value
If the level is even, push the left child first and then the right child onto the stack
If the level is odd, push the right child first and then the left child onto the stack
Yes, I am proficient in Excel and Excel macros.
I have extensive experience in using Excel for data analysis and manipulation.
I am skilled in creating and modifying Excel macros to automate repetitive tasks.
I am familiar with advanced Excel functions such as VLOOKUP, PivotTables, and conditional formatting.
I have used Excel to create charts and graphs to visualize data.
I am comfortable working with large datasets in Exc...
posted on 6 Jun 2023
I applied via Referral and was interviewed before Jun 2022. There were 2 interview rounds.
Cloud technologies offer different services like IaaS, PaaS, and SaaS for varying levels of control and management.
IaaS (Infrastructure as a Service) provides virtualized computing resources over the internet, such as virtual servers and storage.
PaaS (Platform as a Service) offers a platform allowing customers to develop, run, and manage applications without dealing with infrastructure.
SaaS (Software as a Service) deli...
Hackerrank algorithms and ds test
I appeared for an interview in Mar 2023.
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Used when only one instance of a class is needed throughout the system
Provides a global access point to the instance
Implemented by creating a static method to return the same instance each time it is called
based on 1 interview experience
Senior Software Engineer
23
salaries
| ₹25.3 L/yr - ₹46 L/yr |
Software Engineer2
20
salaries
| ₹15 L/yr - ₹22.4 L/yr |
Software Engineer
15
salaries
| ₹11.6 L/yr - ₹20.8 L/yr |
Software Engineer III
13
salaries
| ₹27.5 L/yr - ₹38 L/yr |
Product Owner
10
salaries
| ₹14 L/yr - ₹17.5 L/yr |
Prime Focus Technologies
MapmyIndia
Yodlee
Bravura Solutions