i
Fareportal
Filter interviews by
Clear (1)
I was interviewed in Aug 2021.
Round duration - 60 minutes
Round difficulty - Medium
Technical Interview round with questions on C#, Design patterns, OOPS etc.
A base class is a class that is used as a starting point for creating other classes. It can be inherited by other classes.
Base class provides common attributes and methods that can be inherited by other classes
Derived classes can extend or override the functionality of the base class
Example: Animal can be a base class with attributes like name and methods like eat, sleep
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Used to restrict the instantiation of a class to one object
Commonly used in logging, caching, thread pools, database connections
Implemented by creating a static instance of the class and a private constructor to prevent external instantiation
Access modifiers in C# control the visibility and accessibility of classes, methods, and other members.
Public - accessible from any other class or assembly
Private - accessible only within the same class
Protected - accessible within the same class or derived classes
Internal - accessible within the same assembly
Protected Internal - accessible within the same assembly or derived classes
The default access modifier in C# is 'private'.
Default access modifier is applied if no access modifier is specified for a class member
It restricts the access to the member within the same class
Example: private int myVariable = 10;
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.
I applied via LinkedIn and was interviewed before Feb 2023. There was 1 interview round.
Components of a service include functionality, reliability, availability, and performance.
Functionality: The service should perform the intended tasks and meet the requirements.
Reliability: The service should consistently deliver the expected results.
Availability: The service should be accessible and operational when needed.
Performance: The service should perform efficiently and meet performance expectations.
The lifecycle of a web API refers to the stages it goes through from development to retirement.
The lifecycle typically includes stages like planning, development, testing, deployment, and retirement.
During planning, the requirements and design of the API are defined.
Development involves writing the code and implementing the functionality.
Testing ensures the API works as expected and meets the requirements.
Deployment in...
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
Singleton is a design pattern that restricts the instantiation of a class to one object and provides a global point of access.
Singleton ensures that only one instance of a class is created and provides a way to access it globally.
It is thread-safe because the instance is created only once and accessed through a synchronized method or block.
Singleton can be implemented using different approaches such as eager initializa...
Object class is the base class of all classes in C#.
Object class provides basic functionalities like ToString(), GetHashCode(), and Equals() to all classes.
All classes in C# implicitly inherit from Object class.
Object class is defined in System namespace.
Example: class MyClass : Object { }
Access modifiers in C# control the visibility and accessibility of class members.
Public: accessible from anywhere
Private: accessible only within the class
Protected: accessible within the class and derived classes
Internal: accessible within the same assembly
Protected Internal: accessible within the same assembly and derived classes
Example: public int age; private string name;
Example: protected void DoSomething(); intern
Default access modifiers are public, protected, and private.
Public: accessible from anywhere
Protected: accessible within the class and its subclasses
Private: accessible only within the class
Top trending discussions
I applied via Approached by Company and was interviewed before Nov 2022. There were 3 interview rounds.
Brush up on DS and Algorithms
posted on 24 Aug 2024
I applied via Referral and was interviewed before Aug 2023. There were 4 interview rounds.
Find the longest subsequence in an array with sum zero.
Iterate through the array and keep track of the running sum.
Store the running sum in a hashmap along with the index.
If the same sum is encountered again, the subsequence between the two indices has a sum of zero.
The diameter of a tree is the longest path between two leaf nodes in the tree.
Calculate the longest path between two leaf nodes in the tree
This can be done by finding the height of the left and right subtrees and adding them together
The diameter of the tree is the maximum of either the diameter of the left subtree, the diameter of the right subtree, or the sum of the heights of the left and right subtrees
Design a hotel booking system for managing reservations and availability.
Use a database to store hotel information, room availability, and reservations.
Implement user authentication and authorization for booking.
Include a search feature for users to find available rooms based on their criteria.
Allow users to make reservations, modify or cancel them.
Send confirmation emails to users after successful bookings.
Divide one big integer by another
Ds related questions
posted on 19 Dec 2023
I applied via LinkedIn and was interviewed in Nov 2023. There were 2 interview rounds.
Create subarrays with sum = 0 from given array of integers.
Iterate through the array and keep track of the running sum.
Store the running sum in a hashmap and check if the current sum - any previous sum equals 0.
If yes, then the subarray between those two indices has a sum of 0.
The left view of a binary tree is the set of nodes visible when the tree is viewed from the left side.
Traverse the tree in a level order manner and keep track of the first node at each level.
Use a queue to store nodes at each level and update the left view nodes accordingly.
Example: For a binary tree with root node 1, left child 2, and right child 3, the left view would be [1, 2].
posted on 12 Mar 2024
I applied via Company Website and was interviewed before Mar 2023. There were 4 interview rounds.
Solve sudoku, row and columns should have 1-9 numbers and the numbers shouldnt repeat
Design a parking lot system with features like parking, retrieving, and tracking available spots.
Create a ParkingLot class with attributes like total number of spots, available spots, and a list of parked vehicles.
Implement methods for parking a vehicle, retrieving a vehicle, and tracking available spots.
Use data structures like arrays or lists to manage parked vehicles and available spots.
Consider implementing feature...
based on 1 interview
Interview experience
based on 13 reviews
Rating in categories
Senior Executive
417
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
131
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
129
salaries
| ₹0 L/yr - ₹0 L/yr |
Executive
112
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
103
salaries
| ₹0 L/yr - ₹0 L/yr |
MakeMyTrip
Yatra
Cleartrip
Goibibo