Filter interviews by
A generator in Python is a function that returns an iterator object.
Use the 'yield' keyword to return values one at a time
Generators are memory efficient as they do not store all values in memory at once
Example: def my_generator(): for i in range(5): yield i
Create a dashboard containing charts , data was given
Top trending discussions
posted on 18 Jun 2024
id in Python is a unique identifier assigned to an object.
id() function returns the unique identifier of an object
id is used to check if two variables refer to the same object
id values are unique within the lifetime of the object
A method is a function that belongs to a class, while a function is a standalone block of code.
Methods are called on objects, while functions are called independently.
Methods have access to the data within the class they belong to, while functions do not.
Functions can be defined outside of classes, while methods are defined within classes.
posted on 22 Aug 2023
I applied via Job Portal
Code to filter anagram from an array of strings
Create a dictionary to store sorted strings as keys and original strings as values
Iterate through the array of strings and sort each string to check for anagrams
Return the values of the dictionary to get the filtered anagrams
I applied via Naukri.com and was interviewed in Jul 2023. There were 2 interview rounds.
based on 1 interview
Interview experience
Research Associate
196
salaries
| ₹2 L/yr - ₹6.1 L/yr |
Senior Research Associate
108
salaries
| ₹3.5 L/yr - ₹8.6 L/yr |
Research Analyst
107
salaries
| ₹3.2 L/yr - ₹9.7 L/yr |
Software Engineer
57
salaries
| ₹2.3 L/yr - ₹8 L/yr |
Analyst
55
salaries
| ₹4 L/yr - ₹10.2 L/yr |
Frost & Sullivan
McKinsey & Company
BCG
Gartner