i
Gartner
Filter interviews by
I applied via LinkedIn and was interviewed before Jul 2023. There were 2 interview rounds.
At home coding assignment was given . This was pre Gen-AI era.
A coding qn was given and it need to be properly unit tested.
Implementing a factorial function using recursion
Define a function that takes an integer as input
Base case: if input is 0, return 1
Recursive case: return input multiplied by the factorial of input-1
Example: factorial(5) = 5 * factorial(4) = 5 * 4 * factorial(3) = ... = 5 * 4 * 3 * 2 * 1
Git rebase is a command used to reapply commits on top of another branch.
Git rebase is used to incorporate changes from one branch into another by reapplying commits on top of the target branch.
It helps in maintaining a linear project history by avoiding unnecessary merge commits.
Rebasing should be used with caution as it rewrites commit history and can cause conflicts.
Example: git rebase master - rebase current branch
React.cloneElement() is used to clone and return a new React element with updated props.
React.cloneElement() is used to clone a React element and pass new props to the cloned element.
It is commonly used when you need to add or update props of a React element without changing its key or ref.
Example: const element = React.cloneElement(originalElement, { newProp: value });
Context is a feature in React that allows data to be passed through the component tree without having to pass props down manually. Redux is a state management library for JavaScript applications.
Context is built into React and is primarily used for passing data through the component tree without having to pass props down manually.
Redux is a separate library that provides a centralized store for managing application sta...
A polyfill is a piece of code that provides the technology that you expect the browser to provide natively.
Polyfills are used to fill in the gaps in browser support for certain features.
They allow developers to use new features in older browsers.
Examples of polyfills include Babel for ES6 features and HTML5 Shiv for HTML5 elements in older browsers.
Top trending discussions
Use hashmap to find duplicates in an array of strings
Create a hashmap to store each string as key and count as value
Iterate through the array and check if the string already exists in the hashmap
If it does, increment the count, else add it to the hashmap
Return the strings with count greater than 1 as duplicates
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance variable in the class.
Provide a public static method to access the instance.
Ensure the constructor is private to prevent instantiation from outside the class.
transient and volatile are keywords in Java used for different purposes
transient keyword is used to indicate that a field should not be serialized when converting an object to byte stream
volatile keyword is used to indicate that a variable's value will be modified by different threads
transient keyword is used in serialization, while volatile keyword is used in multithreading
example: transient keyword - private transien...
Comparator and Comparable are interfaces in Java used for sorting objects.
Comparator interface is used to define custom sorting logic for objects.
Comparable interface is used to define natural ordering of objects.
Comparator is used when you want to sort objects based on multiple attributes.
Comparable is used when you want to sort objects based on a single attribute.
Example: Sorting a list of Person objects based on the...
I applied via Walk-in and was interviewed in Dec 2024. There were 10 interview rounds.
Any ideas for an aptitude test?
Yes as g good network connection
The current employees include software developers, project managers, quality assurance analysts, and technical support specialists.
Software developers
Project managers
Quality assurance analysts
Technical support specialists
What is education in place?
What is a SQL Server?
Effective communication and any suggestion.
My name is John Doe.
Full name is John Doe
Common name in English-speaking countries
No middle name or initial
I have a Bachelor's degree in Computer Science from XYZ University.
Bachelor's degree in Computer Science
Graduated from XYZ University
Specialized in software development
Took courses in programming languages, algorithms, and software engineering
Deloitte is a multinational professional services network that provides consulting, audit, tax, and advisory services.
Deloitte engages in consulting services for various industries
They provide audit and assurance services to ensure financial accuracy
The company offers tax services to help clients navigate complex tax regulations
Deloitte also provides advisory services to help businesses improve performance and manage r
Deloitte engages in consulting, audit, tax, and advisory services for clients in various industries.
Consulting services for businesses
Audit services for financial statements
Tax services for individuals and corporations
Advisory services for strategy and operations
Industry-specific services such as healthcare, technology, and financial services
My father's name is John Smith.
Father's name is John Smith
He goes by the name John
His full name is John Smith
My father's name is John Smith.
Father's first name is John.
Father's last name is Smith.
Full name is John Smith.
Engage with any assignment provided.
Please provide any assignments you have.
I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.
Django applies migrations to the database using the 'manage.py migrate' command.
Django tracks changes to models and generates migration files accordingly.
The 'manage.py makemigrations' command creates migration files based on model changes.
The 'manage.py migrate' command applies the generated migration files to the database.
Migrations help keep the database schema in sync with the changes in Django models.
Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their assignments.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
Create a full stack application in 3 days.
I applied via LinkedIn and was interviewed in Sep 2024. There were 2 interview rounds.
The onbeforeunload method is used to prevent form save.
Use the onbeforeunload method to display a warning message before leaving the page without saving the form.
Return a custom message in the method to prompt the user to confirm if they want to leave the page.
Example: window.onbeforeunload = function() { return 'Are you sure you want to leave this page without saving?'; };
Inheritance is a way to create a new class using properties and methods of an existing class, while polymorphism allows objects of different classes to be treated as objects of a common superclass.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Inheritance promotes code reusability and reduce...
Code to check if two strings are anagrams
Create a function that takes in two strings as input
Convert both strings to lowercase and remove any spaces
Sort both strings and compare if they are equal to determine if they are anagrams
I applied via Naukri.com
Java program to sort an array of strings
Use Arrays.sort() method to sort the array of strings
Import java.util.Arrays package
Example: String[] arr = {"apple", "banana", "orange"}; Arrays.sort(arr);
Collections in Java and Spring Boot are used to store and manipulate groups of objects.
Collections in Java are used to store multiple objects in a single unit.
Spring Boot provides support for managing collections through various data structures like List, Set, Map, etc.
Collections in Java and Spring Boot help in organizing and manipulating data efficiently.
Example: List
Few basics of java
Dsa question
Basic aptitude questions. Could be done easily if practiced enough
posted on 7 Aug 2024
I applied via Job Portal
Coding test was of two hours, and two difficult hard question was passed
In the group discussion, they asked the question based on the project
Interview experience
Business Analyst
239
salaries
| ₹8.5 L/yr - ₹22.7 L/yr |
Software Engineer
215
salaries
| ₹9 L/yr - ₹22.5 L/yr |
Senior Software Engineer
168
salaries
| ₹13.8 L/yr - ₹40 L/yr |
Senior Business Analyst
160
salaries
| ₹10.1 L/yr - ₹28 L/yr |
Research Specialist
146
salaries
| ₹6 L/yr - ₹14 L/yr |
Forrester
International Data Corporation
Frost & Sullivan
McKinsey & Company