Filter interviews by
I applied via Walk-in and was interviewed in Oct 2024. There was 1 interview round.
Check if nums can be divided into n pairs
Sort the nums array
Iterate through the array and check if each pair can be formed
Return True if all pairs can be formed, otherwise return False
The number of operations required to make either num1 or num2 equal to 0 is the sum of num1 and num2.
Add num1 and num2 to get the total number of operations required.
In this case, num1 = 2 and num2 = 3, so the total number of operations required is 2 + 3 = 5.
Return the maximum number of unique candy types Alice can have after splitting equally with her brother and following the doctor's advice.
Create a set of unique candy types
Calculate the maximum number of candies Alice can have after splitting and following the doctor's advice
Return the maximum number of unique candy types
Return indices of two numbers in array that add up to target
Use a dictionary to store the difference between target and current number
Iterate through array and check if current number's complement exists in dictionary
Return the indices of the two numbers that add up to target
I applied via Naukri.com and was interviewed in Oct 2021. There was 1 interview round.
Inheritance is a mechanism in object-oriented programming where a new class is created from an existing class.
Allows for code reuse and avoids redundancy
The new class (subclass) inherits properties and methods from the existing class (superclass)
Subclass can add new properties and methods or override existing ones
Example: A Car class can inherit properties and methods from a Vehicle class
Lambda functions are anonymous functions that can be defined without a name.
Lambda functions are defined using the lambda keyword.
They can take any number of arguments, but can only have one expression.
They are often used as arguments for higher-order functions.
Example: lambda x: x**2 defines a lambda function that squares its input.
Numpy is a Python library for numerical computing with support for large, multi-dimensional arrays and matrices.
Numpy provides efficient mathematical operations on arrays.
It is widely used in scientific computing, data analysis, and machine learning.
Numpy arrays are homogeneous and can be indexed and sliced like lists.
Broadcasting allows for element-wise operations on arrays of different shapes.
Numpy also includes line...
Pandas is a Python library used for data manipulation and analysis.
Pandas provides data structures for efficiently storing and manipulating large datasets.
It offers tools for data cleaning, merging, reshaping, and visualization.
Pandas can handle various data formats such as CSV, Excel, SQL databases, and JSON.
It is widely used in data science, finance, economics, and other fields.
Example: df = pd.read_csv('data.csv') c
There are 7 types of operators in Python.
Arithmetic operators (+, -, *, /, %, //, **)
Comparison operators (==, !=, >, <, >=, <=)
Assignment operators (=, +=, -=, *=, /=, %=, //=, **=)
Logical operators (and, or, not)
Bitwise operators (&, |, ^, ~, <<, >>)
Identity operators (is, is not)
Membership operators (in, not in)
Python is a high-level programming language known for its simplicity, readability, and versatility. It is widely used for web development, data analysis, artificial intelligence, and more.
Python is easy to learn and read, making it a great choice for beginners and experienced developers alike.
Python has a large standard library and many third-party packages, making it suitable for a wide range of applications.
Python is...
I applied via Campus Placement and was interviewed before Jan 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jul 2020. There were 4 interview rounds.
The project involved designing and implementing a new network infrastructure for a large corporation.
Conducted a thorough analysis of the existing network infrastructure
Designed a new network architecture that met the company's needs
Implemented the new network infrastructure with minimal disruption to business operations
Tested and optimized the new network to ensure optimal performance
Provided ongoing support and maint
I applied via Walk-in and was interviewed before Feb 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There was 1 interview round.
Some of the top questions asked at the Flowdojo Jr Python Developer interview -
based on 1 interview
Interview experience
TCS
Accenture
Cognizant
Infosys