i
Ernst & Young
Filter interviews by
I applied via Referral and was interviewed in Sep 2024. There were 3 interview rounds.
Armstrong code is a program that checks if a number is an Armstrong number. Reversing a string involves reversing the order of characters in a given string.
Create a function to reverse a string by iterating through the characters in reverse order and appending them to a new string.
Use slicing to reverse a string in Python: 'hello'[::-1] will result in 'olleh'.
Implement the Armstrong code to check if a number is an Arms...
Fine tuning LLMs vs RAG for important use cases
LLMs (Large Language Models) are pre-trained models that can be fine-tuned for specific tasks, offering high performance on a wide range of NLP tasks.
RAG (Retrieval-Augmented Generation) models combine retrieval and generation capabilities, allowing for more context-aware responses.
LLMs are suitable for tasks requiring general language understanding, while RAG models excel...
posted on 14 Sep 2024
25 Questions, Multiple choice, Single correct as well as multi-correct, related tp python, django & flask
Find the maximum occurring number in a list of numbers without using any in-built functions, in linear time using, O(1) space
Lists are mutable, ordered collections of items while tuples are immutable, ordered collections of items.
Lists are defined using square brackets [] while tuples are defined using parentheses ().
Lists can be modified (add, remove, change elements) while tuples cannot be modified once created.
Lists are typically used for collections of similar items that may need to be modified, while tuples are used for fixed collection...
Shallow copy creates a new object but does not duplicate nested objects, while deep copy creates a new object with all nested objects duplicated.
Shallow copy only copies the references of nested objects, not the objects themselves.
Deep copy creates new copies of all nested objects, ensuring complete independence.
In Python, shallow copy can be achieved using the copy() method, while deep copy can be achieved using the d
MVT architecture stands for Model-View-Template architecture, commonly used in web development with Django framework.
MVT separates the logic of an application into three components: Model, View, and Template.
Model represents the data structure, View handles the user interface and business logic, and Template manages the presentation layer.
MVT is similar to MVC (Model-View-Controller) architecture but with a different n...
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are denoted by the @ symbol followed by the decorator name.
They allow you to wrap another function in order to extend or modify its behavior.
Decorators are commonly used for logging, authentication, and memoization.
Example: @staticmethod decorator in Python is used to define a method that is not bound to an instance of
Static methods are bound to the class itself, while instance methods are bound to instances of the class. Use @staticmethod decorator for static methods.
Static methods do not have access to class or instance attributes, while instance methods do.
Instance methods can modify instance state, while static methods cannot.
To define a static method in Python, use the @staticmethod decorator before the method definition.
Exampl...
Inheritance is a mechanism in which a new class inherits attributes and methods from an existing class.
Inheritance allows a class to reuse code from another class.
Python supports single, multiple, and multilevel inheritance.
Example: class ChildClass(ParentClass):
Access specifiers in Python control the accessibility of class attributes and methods.
Access specifiers are not explicitly defined in Python like in other languages such as Java or C++.
By convention, attributes and methods starting with a single underscore (_) are considered 'protected' and should not be accessed directly.
Attributes and methods starting with double underscores (__) are considered 'private' and are name
I applied via Naukri.com
posted on 15 May 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
I applied via Job Portal
Python coding exercise for array sorting
I applied via Company Website and was interviewed in Jan 2023. There were 3 interview rounds.
The basic levels of python and coding
Decorators are functions that modify the behavior of other functions. Palindrome and prime number codes are also commonly asked in Python interviews.
Decorators are denoted by '@' symbol and placed above the function definition
They can be used to add functionality to a function without modifying its code
Examples of decorators include @staticmethod, @classmethod, and @property
Palindrome number code checks if a number is ...
I applied via Naukri.com and was interviewed in Jun 2022. There were 3 interview rounds.
Pandas question , python data structures, live coding
Senior Consultant
15.6k
salaries
| ₹9.1 L/yr - ₹29.8 L/yr |
Consultant
11.9k
salaries
| ₹5.4 L/yr - ₹19 L/yr |
Manager
7.5k
salaries
| ₹16.5 L/yr - ₹51.2 L/yr |
Assistant Manager
6.3k
salaries
| ₹9.8 L/yr - ₹30 L/yr |
Associate Consultant
3.8k
salaries
| ₹3.5 L/yr - ₹12 L/yr |
Deloitte
PwC
EY Global Delivery Services ( EY GDS)
Accenture