i
Autodesk
Filter interviews by
I applied via Company Website and was interviewed in Jan 2024. There was 1 interview round.
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as the same type.
Polymorphism is a fundamental concept in object-oriented programming.
It enables code reusability and flexibility.
Polymorphism can be achieved through method overriding and method overloading.
Example: A parent class Animal can have multiple child classes like Dog, Cat, and Bird. They can ...
Static polymorphism refers to the ability of a programming language to select the appropriate function or method at compile-time.
Static polymorphism is achieved through function overloading or operator overloading.
It allows different functions with the same name but different parameters to be called based on the arguments provided.
The selection of the appropriate function is determined at compile-time, based on the sta...
Dynamic polymorphism is the ability of an object to take on many forms based on the context it is used.
It allows objects of different classes to be treated as objects of a common superclass.
It is achieved through method overriding and virtual functions.
Example: A superclass 'Animal' with subclasses 'Dog' and 'Cat'. Both can be treated as 'Animal' objects.
Python data types include int, float, str, list, tuple, dict, set. Main differences are mutability, ordering, and usage.
Integers (int) are whole numbers, floats are numbers with decimal points.
Strings (str) are sequences of characters enclosed in quotes.
Lists are ordered, mutable collections of items. Tuples are ordered, immutable collections.
Dictionaries (dict) are key-value pairs. Sets are unordered collections of un...
Questions on automations, python and APIs
I applied via LinkedIn and was interviewed in Jan 2021. There was 1 interview round.
I applied via Approached by Company and was interviewed before Aug 2021. There was 1 interview round.
Abstract class can have implementation while interface cannot. Classes can implement multiple interfaces but only one abstract class.
Abstract class can have constructors while interface cannot.
Abstract class can have non-abstract methods while interface cannot.
Interfaces are used for full abstraction while abstract classes are used for partial abstraction.
Example: Abstract class - Animal with method eat() and subclass ...
I applied via Naukri.com and was interviewed in Jan 2021. There were 3 interview rounds.
I appeared for an interview before May 2016.
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
based on 2 interviews
Interview experience
based on 9 reviews
Rating in categories
Senior Software Engineer
116
salaries
| ₹14 L/yr - ₹50.5 L/yr |
Software Engineer
97
salaries
| ₹18.4 L/yr - ₹36 L/yr |
Software Development Engineer
40
salaries
| ₹9.5 L/yr - ₹33 L/yr |
Software Developer
39
salaries
| ₹15.5 L/yr - ₹30 L/yr |
Principal Engineer
35
salaries
| ₹25 L/yr - ₹80 L/yr |
Adobe
Dassault Systemes
Oracle
KPIT Technologies