Filter interviews by
Clear (1)
LRU cache program is a data structure that stores the most recently used items.
LRU cache is typically implemented using a doubly linked list and a hashmap.
When a new item is accessed, it is moved to the front of the list.
If the cache is full, the least recently used item is removed from the end of the list.
Example: If the cache has a capacity of 3 and items A, B, C are accessed in that order, the cache will store C, B,...
DBMS locking is a mechanism to manage concurrent access to data in a database to prevent data corruption.
Locking is used to ensure data integrity and consistency in a multi-user environment.
Types of locks include shared locks, exclusive locks, and update locks.
Example scenario: Two users trying to update the same record simultaneously - one user gets an exclusive lock while the other waits.
Deadlocks can occur when two ...
I applied via Referral and was interviewed in Jul 2023. There were 5 interview rounds.
Async and threading offer advantages in improving performance and responsiveness in software development.
Async allows for non-blocking operations, improving responsiveness by allowing other tasks to continue while waiting for a response.
Threading enables parallel execution of tasks, utilizing multiple CPU cores to improve performance.
Async is more suitable for I/O-bound operations, while threading is better for CPU-bou...
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
Use a hashmap to store the difference between the target and each element as keys and their indices as values.
Iterate through the array and check if the current element's complement exists in the hashmap.
Return the indices of the two numbers that add up to the target.
Global Interpreter Lock (GIL) is a mutex that protects access to Python objects, preventing multiple threads from executing Python bytecodes simultaneously.
GIL is a mechanism used in CPython to ensure that only one thread executes Python bytecode at a time.
It prevents multiple threads from executing Python code concurrently, which can cause issues with thread safety.
GIL can impact the performance of multi-threaded Pyth...
Use two pointers to swap 0s to the beginning and 2s to the end while keeping 1s in the middle.
Initialize two pointers, one for 0s (left) and one for 2s (right).
Iterate through the array and swap 0s to the left pointer and 2s to the right pointer.
Example: Input array = ['2', '1', '0', '2', '1', '0'], Output array = ['0', '0', '1', '1', '2', '2']
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
How can implement a queue
To swap numbers without using a third variable, use arithmetic operations.
Add the two numbers to get the first number
Subtract the second number from the sum to get the second number
Subtract the original first number from the sum to get the original second number
Phenom interview questions for designations
To exchange numbers without a third variable, use addition and subtraction operations.
Add the two numbers to get the sum.
Subtract the first number from the sum to get the second number.
Subtract the second number from the sum to get the first number.
A queue can be implemented using arrays or linked lists. It follows the FIFO principle.
Create an empty array or linked list
Enqueue elements at the end of the queue
Dequeue elements from the front of the queue
Implement methods like isEmpty, isFull, peek, etc.
Example: Queue implemented using an array - https://www.geeksforgeeks.org/queue-set-1introduction-and-array-implementation/
Get interview-ready with Top Phenom Interview Questions
I applied via Hirist and was interviewed in Jan 2021. There were 3 interview rounds.
Top trending discussions
I applied via Company Website and was interviewed in Feb 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Jul 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed in Jun 2024. There were 3 interview rounds.
DSA, 2hrs. along with aptitude and reasoning que were asked
I applied via Recruitment Consultant and was interviewed in Feb 2021. There were 3 interview rounds.
SOLID principles are a set of five design principles for writing maintainable and scalable code.
Single Responsibility Principle (SRP) - a class should have only one reason to change
Open-Closed Principle (OCP) - a class should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - a subclass should be able to replace its parent class without affecting the system's behavior
Interface Segreg...
Ref and out are both used for passing arguments by reference in C#. Ref is bidirectional while out is unidirectional.
Ref and out are used to pass arguments by reference instead of by value
Ref is used for both input and output parameters while out is only used for output parameters
Ref requires the variable to be initialized before passing while out does not
Example: void MyMethod(ref int x) { x = x + 1; } and void MyMeth
REST APIs are a way to interact with web services. Popular status codes include 200, 404, and 500.
REST APIs allow clients to access and manipulate resources on a server using HTTP requests
Common HTTP methods used in REST APIs include GET, POST, PUT, and DELETE
Status codes indicate the success or failure of a request, with 2xx codes indicating success and 4xx/5xx codes indicating errors
Some popular status codes include ...
Memory management in C# involves automatic garbage collection and the use of pointers.
C# uses a garbage collector to automatically manage memory allocation and deallocation.
Developers can use pointers to directly manipulate memory, but this is not recommended.
C# also provides tools for managing memory usage, such as the IDisposable interface and the using statement.
Microservices, cloud-native, and serverless are the latest architectural trends in C#.
Microservices architecture is gaining popularity due to its scalability and flexibility.
Cloud-native architecture focuses on building applications that are optimized for cloud environments.
Serverless architecture allows developers to focus on writing code without worrying about infrastructure management.
Other trends include containeri...
Both .NET Core and Framework are used for developing Windows applications, but Core is cross-platform and lightweight.
Core is open-source and modular, while Framework is a monolithic framework
Core has better performance and scalability than Framework
Core supports microservices architecture, while Framework does not
Core has a smaller footprint and can be deployed as a single executable
Framework has better backward compa
Major advancements in .NET Core include improved performance, cross-platform compatibility, and enhanced security features.
Improved performance through the use of Span
Cross-platform compatibility with support for Linux and macOS
Enhanced security features such as runtime code generation and data protection
Introduction of .NET Core 3.0 with support for Windows Desktop applications
Integration with ...
based on 4 interviews
1 Interview rounds
based on 42 reviews
Rating in categories
Product Development Engineer
197
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
114
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Development Engineer 2
91
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Development Engineer 1
75
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
32
salaries
| ₹0 L/yr - ₹0 L/yr |
Talentica Software
TalentSprint
TALENTEDGE
PeopleStrong