Filter interviews by
MVC life cycle is a series of steps that occur when a request is made to an MVC application.
Request is received by the routing engine
Routing engine determines the controller and action to handle the request
Controller is instantiated and action method is called
Action method returns a view
View is rendered and returned as a response
Singleton design pattern restricts the instantiation of a class to a single instance.
Ensures only one instance of a class exists
Provides a global point of access to that instance
Used when only one object is needed to coordinate actions across the system
Example: Database connection manager
An abstract class is a class that cannot be instantiated and is used as a base class for other classes.
An abstract class can have abstract and non-abstract methods.
Abstract methods have no implementation and must be implemented by the derived class.
An abstract class can have constructors and fields.
An abstract class can be used to define a common interface for a group of related classes.
Example: Animal is an abstr...
Procedures and triggers are database objects used to automate tasks and enforce rules.
Procedures are a set of SQL statements that can be executed repeatedly.
Triggers are special types of procedures that are automatically executed in response to certain events.
Triggers can be used to enforce business rules, audit changes, or replicate data.
Procedures and triggers can be written in various programming languages such...
ADO.NET is a data access technology used to connect applications to databases.
ADO.NET provides a set of classes to interact with databases.
It supports disconnected data architecture.
It uses Data Providers to connect to different databases.
It supports LINQ to SQL for querying databases.
Examples of Data Providers are SQL Server, Oracle, MySQL, etc.
WPF provides better UI design and development options than Windows Forms.
WPF allows for more flexible and customizable UI design.
WPF supports vector graphics and animations.
WPF has better data binding capabilities.
WPF is more modern and actively developed than Windows Forms.
WPF is better suited for creating modern desktop applications.
WPF stands for Windows Presentation Foundation. It is a graphical subsystem for rendering user interfaces in Windows-based applications.
WPF is a part of .NET Framework and provides a unified programming model for building desktop applications.
It uses XAML (eXtensible Application Markup Language) to define and create user interfaces.
WPF supports rich media, 2D and 3D graphics, animation, and data binding.
It allows ...
LINQ (Language Integrated Query) is a Microsoft technology that allows querying data from different sources using a common syntax.
LINQ provides a unified way to query data from different sources such as databases, XML documents, and collections.
It allows developers to write queries using a common syntax regardless of the data source.
LINQ queries are strongly typed and can be checked at compile time.
Examples of LIN...
Encapsulation is hiding implementation details while abstraction is showing only necessary details.
Encapsulation is achieved through access modifiers like private, protected, and public.
Abstraction is achieved through abstract classes and interfaces.
Encapsulation provides data security and prevents unauthorized access.
Abstraction helps in reducing complexity and improves maintainability.
Example of encapsulation: C...
Method overloading in C# allows multiple methods with the same name but different parameters.
Method overloading can be achieved by changing the number of parameters in a method.
Method overloading can be achieved by changing the data type of parameters in a method.
Method overloading can be achieved by changing the order of parameters in a method.
I appeared for an interview before Apr 2021.
Round duration - 60 Minutes
Round difficulty - Medium
In this round, the interviewer asked me 2 coding questions , the first one was related to Simple Hashing and the second one was to implement Kadane's Algorithm. I coded both the solutions in the given time and at the end was also asked some questions revolving around OOPS and C#.
Given an array of integers ARR
of length N
and an integer Target
, your task is to return all pairs of elements such that they add up to the Target
.
The first line ...
The task is to find all pairs of elements in an array that add up to a given target.
Iterate through the array and for each element, check if the target minus the element exists in a hash set.
If it exists, add the pair to the result. If not, add the element to the hash set.
Handle cases where the same element is used twice in a pair or no pair is found.
Time complexity can be optimized to O(N) using a hash set to store el...
Given an array or list ARR
consisting of N
integers, your objective is to compute the maximum possible sum obtainable from a non-empty subarray (a contiguous sequence) within thi...
Find the maximum sum of a subarray within an array of integers.
Iterate through the array and keep track of the maximum sum of subarrays encountered so far.
At each index, decide whether to include the current element in the subarray or start a new subarray.
Update the maximum sum if a new maximum is found.
Example: For input [-2, 1, -3, 4, -1], the maximum subarray sum is 4.
Data encapsulation is the concept of bundling data and methods that operate on the data into a single unit.
Data encapsulation helps in hiding the internal state of an object and restricting access to it.
It allows for better control over the data by preventing direct access from outside the class.
Encapsulation also helps in achieving data abstraction, where only relevant information is exposed to the outside world.
Examp...
Method overloading in C# allows multiple methods with the same name but different parameters.
Method overloading can be achieved by changing the number of parameters in a method.
Method overloading can be achieved by changing the data type of parameters in a method.
Method overloading can be achieved by changing the order of parameters in a method.
Round duration - 60 Minutes
Round difficulty - Medium
This round was preety much mixed and had questions from LINQ , .NET framework, DBMS, OOPS and Design Patterns.
LINQ (Language Integrated Query) is a feature in C# that provides a consistent way to query data sources.
LINQ allows for querying data from different sources like databases, collections, XML, etc.
Advantages of using LINQ in a Dataset include improved readability, type safety, and easier data manipulation.
LINQ queries are executed at compile time, providing better performance compared to traditional methods.
Example: var...
LINQ is a query language in C# for querying data from different data sources, while Stored Procedures are precompiled SQL queries stored in a database.
LINQ is used to query data from different data sources like collections, databases, XML, etc.
Stored Procedures are precompiled SQL queries stored in a database for reuse.
LINQ queries are written in C# code, while Stored Procedures are written in SQL.
LINQ provides type sa...
An Expression Tree in LINQ represents code as data structure, allowing queries to be manipulated and executed dynamically.
Expression Trees are used to represent lambda expressions in a tree-like data structure.
They allow LINQ queries to be translated into a format that can be analyzed and executed at runtime.
Expression Trees can be inspected and modified programmatically, enabling dynamic query generation.
Example: var ...
Triggers are automatically executed in response to certain events, while procedures are manually executed by users.
Triggers are automatically invoked in response to data manipulation events, such as INSERT, UPDATE, DELETE.
Procedures are stored sets of SQL statements that can be executed manually by users.
Triggers are defined to execute in response to a specific event on a specific table.
Procedures can be called explici...
Abstraction is hiding complex implementation details, while data encapsulation is bundling data and methods together in a class.
Abstraction allows us to focus on the essential features of an object while hiding unnecessary details.
Data encapsulation restricts access to some of an object's components, protecting the integrity of the data.
Abstraction and data encapsulation help in achieving modularity and reusability in ...
Types of design patterns in Java include creational, structural, and behavioral patterns.
Creational patterns focus on object creation mechanisms, such as Singleton, Factory, and Builder patterns.
Structural patterns deal with object composition, such as Adapter, Decorator, and Proxy patterns.
Behavioral patterns focus on communication between objects, such as Observer, Strategy, and Template patterns.
Round duration - 30 Minutes
Round difficulty - Easy
This is a cultural fitment testing round. HR was very frank and asked standard questions. Then we discussed about my
role.
I have a passion for open-source projects, contributing to various communities and enhancing my coding skills beyond my job.
I contributed to an open-source project that helps developers manage their time effectively, which improved my project management skills.
I regularly participate in hackathons, where I collaborate with diverse teams to solve real-world problems, enhancing my teamwork abilities.
I mentor junior devel...
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 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 Naukri.com and was interviewed before Nov 2019. There was 1 interview round.
LINQ (Language Integrated Query) is a Microsoft technology that allows querying data from different sources using a common syntax.
LINQ provides a unified way to query data from different sources such as databases, XML documents, and collections.
It allows developers to write queries using a common syntax regardless of the data source.
LINQ queries are strongly typed and can be checked at compile time.
Examples of LINQ pro...
ADO.NET is a data access technology used to connect applications to databases.
ADO.NET provides a set of classes to interact with databases.
It supports disconnected data architecture.
It uses Data Providers to connect to different databases.
It supports LINQ to SQL for querying databases.
Examples of Data Providers are SQL Server, Oracle, MySQL, etc.
WPF stands for Windows Presentation Foundation. It is a graphical subsystem for rendering user interfaces in Windows-based applications.
WPF is a part of .NET Framework and provides a unified programming model for building desktop applications.
It uses XAML (eXtensible Application Markup Language) to define and create user interfaces.
WPF supports rich media, 2D and 3D graphics, animation, and data binding.
It allows for s...
WPF provides better UI design and development options than Windows Forms.
WPF allows for more flexible and customizable UI design.
WPF supports vector graphics and animations.
WPF has better data binding capabilities.
WPF is more modern and actively developed than Windows Forms.
WPF is better suited for creating modern desktop applications.
Procedures and triggers are database objects used to automate tasks and enforce rules.
Procedures are a set of SQL statements that can be executed repeatedly.
Triggers are special types of procedures that are automatically executed in response to certain events.
Triggers can be used to enforce business rules, audit changes, or replicate data.
Procedures and triggers can be written in various programming languages such as S...
An abstract class is a class that cannot be instantiated and is used as a base class for other classes.
An abstract class can have abstract and non-abstract methods.
Abstract methods have no implementation and must be implemented by the derived class.
An abstract class can have constructors and fields.
An abstract class can be used to define a common interface for a group of related classes.
Example: Animal is an abstract c...
Encapsulation is hiding implementation details while abstraction is showing only necessary details.
Encapsulation is achieved through access modifiers like private, protected, and public.
Abstraction is achieved through abstract classes and interfaces.
Encapsulation provides data security and prevents unauthorized access.
Abstraction helps in reducing complexity and improves maintainability.
Example of encapsulation: Class ...
Singleton design pattern restricts the instantiation of a class to a single instance.
Ensures only one instance of a class exists
Provides a global point of access to that instance
Used when only one object is needed to coordinate actions across the system
Example: Database connection manager
I applied via Naukri.com and was interviewed before May 2021. There was 1 interview round.
MVC life cycle is a series of steps that occur when a request is made to an MVC application.
Request is received by the routing engine
Routing engine determines the controller and action to handle the request
Controller is instantiated and action method is called
Action method returns a view
View is rendered and returned as a response
Top trending discussions
posted on 16 Sep 2021
I appeared for an interview in Oct 2020.
Round duration - 75 min
Round difficulty - Medium
This round was MCQ and coding round. 25 MCQs and one coding question were asked. MCQs were based on OS, DBMS, Aptitude and Data Structures.
You have 'N' tasks to complete. Each task can only be done on one of two specific days provided in two arrays: day1
and day2
.
For each task i, day1[i]
represents the earliest...
Find the minimum number of days required to complete all tasks given specific completion days for each task.
Sort the tasks based on day1 in ascending order.
For each task, choose the minimum of day1 and day2 as the completion day.
Keep track of the maximum completion day for each task.
The final answer is the maximum completion day of all tasks.
Round duration - 30 min
Round difficulty - Easy
This was a Data Structural round. Only one coding question was asked by the interviewer. The interviewer was very friendly. This round was very easy.
Sort the given unsorted array consisting of N non-negative integers in non-decreasing order using the Bubble Sort algorithm.
The first line contains an integer 'T' r...
Bubble Sort algorithm is used to sort an array of non-negative integers in non-decreasing order.
Implement the Bubble Sort algorithm to sort the array in place.
Compare adjacent elements and swap them if they are in the wrong order.
Repeat this process until the array is sorted.
Time complexity of Bubble Sort is O(n^2) in the worst case.
Example: For input [6, 2, 8, 4, 10], the output should be [2, 4, 6, 8, 10].
Tip 1 : Be confident!
Tip 2 : Maintain high Cgpa
Tip 3 : Do your best
Tip 1 : Mention clear points
Tip 2 : Atleast 3 projects and never put anything you have not revised
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 75 minutes
Round difficulty - Medium
It was in the evening.
It consisted of 26 questions of easy to hard level.
It consisted of 25 MCQs and only 1 coding problem.
Given a structured list of books and their authors, format the information as specified.
The first line of input contains an integer ‘T' representing the number of tes...
The task is to format a list of authors and their books in a specific way as per the given input format.
Parse the input to extract the number of test cases, number of authors, author names, and their respective books.
Format the output by printing the author names and their books in the specified format.
Ensure correct sequence and labeling of authors and books as per the example provided.
Handle multiple test cases and a...
Round duration - 15 minutes
Round difficulty - Medium
It was more of CV based round. A brief discussion on projects was there followed by some questions like why optum.
You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified position 'POS'.
The first line co...
Implement a function to delete a node from a linked list at a specified position.
Traverse the linked list to find the node at the specified position.
Update the pointers of the previous and next nodes to skip the node to be deleted.
Handle edge cases such as deleting the head or tail of the linked list.
Ensure to free the memory of the deleted node to avoid memory leaks.
Round duration - 15 minutes
Round difficulty - Easy
A short round where some basic dbms questions like procedure, cursor were asked. Then some questions on whether I would prefer working alone or in a team. Where I see myself in 5 years.
You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. Your task is to color this graph using two colors, such as blue and red, in a way that no two adjacen...
Given a graph with 'N' vertices and 'M' edges, determine if it can be colored using two colors without adjacent vertices sharing the same color.
Use graph coloring algorithm like BFS or DFS to check if the graph can be colored with two colors without conflicts.
Check if any adjacent vertices have the same color. If so, it is not possible to color the graph as described.
If the graph has connected components, color each co...
Tip 1 : Projects do not matter much for this company.
Tip 2 : I did almost all the puzzles from Interviewbit.
Tip 3 : DBMS is really important. Practice queries in SQL thoroughly. You should know the use of limit and top also. It may be asked to write the same query in more than 1 form.
Tip 4 : Practice all the data structures. Questions were simple and you should know the basics of every data structure.
Tip 1 : Don't write anything just for the sake of it.
Tip 2 : If you are writing some project then be thorough with all the details. If you are not much confident, then simply remove it and focus on other subjects.
posted on 12 Jun 2021
I applied via Campus Placement and was interviewed in Dec 2020. There were 5 interview rounds.
Program to print a pattern and implement bubble sort on an array of strings.
For pattern printing, use nested loops to print the desired pattern.
For bubble sort, compare adjacent elements and swap if necessary.
Use a loop to iterate through the array until no more swaps are needed.
I applied via Campus Placement and was interviewed in Aug 2021. There were 2 interview rounds.
Mathematic
My strengths include problem-solving, attention to detail, and teamwork. My weaknesses include time management and public speaking.
Strengths: problem-solving, attention to detail, teamwork
Weaknesses: time management, public speaking
I am a software developer with experience in various programming languages and a passion for creating innovative solutions.
Experienced in Java, C++, and Python
Developed a mobile app using React Native
Worked on a team to build a web application using AngularJS
Strong problem-solving and analytical skills
I applied via Campus Placement and was interviewed before Nov 2020. There were 4 interview rounds.
NTT is a global technology services company that provides IT solutions and services to clients worldwide.
NTT offers a wide range of services including cloud computing, cybersecurity, data analytics, and IoT solutions.
The company operates in over 80 countries and has over 300,000 employees.
NTT is also involved in research and development in areas such as artificial intelligence and quantum computing.
Some of NTT's client...
based on 19 reviews
Rating in categories
Senior Executive
1.1k
salaries
| ₹2 L/yr - ₹6.5 L/yr |
Softwaretest Engineer
602
salaries
| ₹3 L/yr - ₹6.5 L/yr |
Senior Software Consultant
519
salaries
| ₹14.4 L/yr - ₹26.5 L/yr |
Software Consultant
380
salaries
| ₹4.7 L/yr - ₹14 L/yr |
Customer Service Executive
377
salaries
| ₹2.4 L/yr - ₹7 L/yr |
Cognizant
DXC Technology
Optum Global Solutions
CGI Group