i
Fareportal
Filter interviews by
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, in the context of C#, is a class that is used to create, or derive, other classes. Classes derived from a base class are called child classes, subclasses or derived classes. A base class does not inherit from any other class and is considered parent of a derived class.
The base class forms the means by which inheritance is accomplished through derivation. A class derived from a base class inherits both dat
Singleton design pattern in C# is one of the most popular design patterns. In this pattern, a class has only one instance in the program that provides a global point of access to it. In other words, a singleton is a class that allows only a single instance of itself to be created and usually gives simple access to that instance.
The following are the common characteristics of a singleton pattern.
Private and parameter le...
C# has the following access modifiers:
Modifier Description
public The code is accessible for all classes
private The code is only accessible within the same class
protected The code is accessible within the same class, or in a class that is inherited from that class. You will learn more about inheritance in a later chapter
internal The code is only accessible within its own assembly, but not from another assembly. You will
By Default, access modifier of Class is 'Internal' and 'Private' for Data Member and Member Function of Class.
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 LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
I applied via Referral and was interviewed in Sep 2024. There was 1 interview round.
Print nodes of n-ary tree in arc wise manner from outside
Traverse the tree level by level from outside to inside
Use a queue to keep track of nodes at each level
Print the nodes at each level in a clockwise or anticlockwise manner
Designing search systems involves creating efficient algorithms and data structures to quickly retrieve relevant information.
Understand the data structure of the search system (e.g. inverted index, trie)
Implement efficient search algorithms (e.g. binary search, hash tables)
Consider scalability and performance optimization techniques (e.g. caching, indexing)
Include user-friendly features like autocomplete and spell corr...
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].
I was interviewed before Jul 2023.
45 min round. Similar to Leetcode medium level question.
45 min coding round, 2 question asked
Design a system for proximity service
Utilize geolocation data to track user locations
Implement algorithms to calculate proximity between users
Use real-time updates to notify users of nearby contacts
posted on 21 Mar 2023
I applied via Company Website and was interviewed in Sep 2022. There were 2 interview rounds.
I applied via Recruitment Consulltant and was interviewed before Apr 2023. There were 4 interview rounds.
Notification Observer Design Pattern is used to establish a one-to-many relationship between objects.
Create a subject class that maintains a list of observers and notifies them of any state changes.
Observers register themselves with the subject to receive notifications.
Use protocols and delegates in iOS to implement the observer pattern.
Example: NotificationCenter in iOS uses the observer pattern to broadcast notificat
based on 1 interview
Interview experience
based on 12 reviews
Rating in categories
Senior Executive
415
salaries
| ₹2.5 L/yr - ₹6.6 L/yr |
Team Lead
133
salaries
| ₹4.2 L/yr - ₹16 L/yr |
Senior Software Engineer
129
salaries
| ₹9 L/yr - ₹32.7 L/yr |
Executive
117
salaries
| ₹1.8 L/yr - ₹6 L/yr |
Assistant Manager
103
salaries
| ₹5.7 L/yr - ₹17 L/yr |
MakeMyTrip
Yatra
Cleartrip
Goibibo