Filter interviews by
I applied via Referral
A generic swap function swaps two values of any data type.
The function should take two parameters of any data type.
Use a temporary variable to store the value of one parameter.
Assign the value of the second parameter to the first parameter.
Assign the value of the temporary variable to the second parameter.
Search for an element in a rotated sorted linked list.
Find the pivot point where the list is rotated.
Divide the list into two sublists based on the pivot point.
Perform binary search on the appropriate sublist.
Handle edge cases such as empty list and list with only one element.
Search an element in a rotated sorted array
Find the pivot point where the array is rotated
Divide the array into two sub-arrays based on pivot point
Perform binary search on the appropriate sub-array
Repeat until element is found or sub-array size is 1
Find 5 missing numbers in an array of size 95 containing numbers in range 1 to 100.
Create a boolean array of size 100 and mark the present numbers
Iterate through the boolean array and find the missing numbers
Alternatively, use a HashSet to store the present numbers and find the missing ones
Given a Sudoku board, find possible numbers for an empty cell.
Iterate through empty cells and check possible numbers using row, column, and box constraints.
Use a set to keep track of possible numbers for each empty cell.
Return the set of possible numbers for the given empty cell.
Find integer average of 4 unsigned integers without typecasting
Add all the integers and divide by 4
Use bit shifting to divide by 4
Handle overflow by using long long data type
Use unsigned int data type for input
Code to identify 32 bit or 64 bit architecture of a processor
Check if the operating system is 32 bit or 64 bit
If OS is 32 bit, processor is 32 bit
If OS is 64 bit, check if processor supports 64 bit architecture
Use CPUID instruction to check if processor supports 64 bit architecture
Convert binary number to base 64 integer
Divide the binary number into groups of 6 bits
Convert each group of 6 bits to decimal
Map the decimal value to the corresponding base 64 character
Concatenate the base 64 characters to form the final integer
I appeared for an interview in Dec 2016.
posted on 9 Jun 2017
I appeared for an interview in May 2017.
AngularJS is a JavaScript framework for building dynamic web applications.
AngularJS is a client-side MVC framework.
It allows developers to build single-page applications.
It extends HTML with new attributes and tags.
AngularJS uses two-way data binding to automatically synchronize data between the model and the view.
It provides dependency injection and modularization features.
Some popular examples of websites built with
A directive is a programming construct that provides instructions to a compiler or interpreter.
Directives are used to control the behavior of a program or to provide additional information to the compiler or interpreter.
They are typically written as special comments or statements in the code.
Examples of directives include #include in C/C++ to include header files, #pragma to control compiler-specific behavior, and #def
A factory is a design pattern that provides an interface for creating objects of a certain class.
A factory encapsulates the object creation logic and hides it from the client.
It allows the client to create objects without knowing the specific class or implementation details.
Factories can be used to create different types of objects based on certain conditions or parameters.
They promote loose coupling and flexibility in...
Services are software components that perform specific tasks or provide functionality to other software applications.
Services are self-contained and independent modules that can be accessed by other software components.
They can be used to handle business logic, data processing, communication with external systems, etc.
Examples of services include web services, microservices, RESTful APIs, and cloud services.
Services ca...
A factory is responsible for creating and managing objects, while a service is responsible for providing specific functionality or performing tasks.
A factory is used to create and initialize objects, often based on certain parameters or configurations.
A service is a component that provides specific functionality or performs tasks for other components or systems.
Factories are commonly used in object-oriented programming...
A program to sort an array of strings.
Use a sorting algorithm like bubble sort, insertion sort, or quicksort.
Compare strings using a comparison function.
Implement the sorting algorithm in a function that takes the array as input and modifies it in place.
This program displays words separated by spaces.
Use an array of strings to store the words.
Iterate through the array and print each word followed by a space.
Exclude the space after the last word.
A provider is a software component or service that supplies data, functionality, or resources to other software applications.
A provider is responsible for delivering data, services, or resources to other software components or applications.
Providers can be APIs, libraries, frameworks, or any other software component that offers functionality to other software.
Examples of providers include database management systems, c
The $watch and $digest are two important concepts in AngularJS for data binding and updating the view.
$watch is a function in AngularJS that allows you to watch for changes in a specific variable or expression.
$digest is a function in AngularJS that triggers a process called the digest cycle, which updates the bindings and synchronizes the model and view.
The $watch function takes two parameters: the variable or express...
ng-repeat is a directive in AngularJS used to repeat HTML elements for each item in an array.
ng-repeat is used to create a loop in AngularJS
It is commonly used to display a list of items from an array
The directive is placed on an HTML element and uses the 'item in array' syntax
It can also be used with filters and sorting
Example:
ng-getValue is not a standard attribute in Angular. It may be a custom directive or a typo.
Check if ng-getValue is a custom directive or attribute in your Angular application
Verify if it is being used correctly in the HTML template
If it is a typo, correct it to the appropriate attribute or directive
Developing CSS without using bootstrap involves writing custom CSS code to style web pages.
Write CSS code to define styles for HTML elements
Use CSS selectors to target specific elements
Apply CSS properties to modify the appearance of elements
Create media queries for responsive design
Implement CSS animations and transitions
Optimize CSS code for performance
CDN stands for Content Delivery Network. It is a distributed network of servers that deliver web content to users based on their geographic location.
CDN improves website performance by reducing latency and increasing page load speed.
CDN caches content in multiple locations, allowing users to access it from a server closest to them.
CDN can handle high traffic loads and distribute it across multiple servers.
Popular CDN p...
To display different colors in a table using CSS for odd and even rows, you can use the :nth-child() selector.
Use the :nth-child(odd) selector to target odd rows and apply a specific color using the background-color property.
Use the :nth-child(even) selector to target even rows and apply a different color using the background-color property.
For example, you can use CSS code like this: tr:nth-child(odd) { background-c...
To develop CSS for different devices, use media queries, responsive design principles, and testing on various devices.
Use media queries to apply different CSS styles based on the device's screen size
Follow responsive design principles to ensure the layout adapts to different devices
Test the CSS on various devices to ensure compatibility and responsiveness
The $rootscope is a service in AngularJS that provides a global scope for sharing data between controllers.
It is a part of the AngularJS framework.
It is used to share data between controllers.
It is a singleton object accessible throughout the application.
It can be used to broadcast and listen to events.
jQuery is a fast, small, and feature-rich JavaScript library that simplifies HTML document traversal and manipulation, event handling, and animation.
jQuery is a JavaScript library.
It simplifies HTML document traversal and manipulation.
It provides easy event handling and animation.
jQuery is fast, small, and feature-rich.
I appeared for an interview before May 2016.
MVC life cycle, AJAX call and passing data from view to partial view.
MVC life cycle includes request routing, controller instantiation, action execution, and rendering of the view.
AJAX call is initiated by sending an HTTP request to the server and receiving a response in the form of JSON or XML data.
To pass data from one view to a partial view, we can use ViewBag, ViewData, or TempData.
ViewBag is a dynamic object that ...
Abstract class is a class that cannot be instantiated, while interface is a contract that defines methods.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have instance variables, while interface cannot.
Abstract class is used for code reusability and polymorphism, while interface is used for achieving abstraction and loose coupling.
In serv...
based on 1 interview
Interview experience
Software Engineer
183
salaries
| ₹8.2 L/yr - ₹28.5 L/yr |
Senior Software Engineer
145
salaries
| ₹10 L/yr - ₹40 L/yr |
Associate Software Engineer
70
salaries
| ₹6 L/yr - ₹16.8 L/yr |
Lead Software Engineer
60
salaries
| ₹22.2 L/yr - ₹47 L/yr |
Senior QA Engineer
56
salaries
| ₹13 L/yr - ₹26 L/yr |
Oracle
Amdocs
Automatic Data Processing (ADP)
24/7 Customer