Filter interviews by
Train a Decision Tree based on provided dataset.
Preprocess the dataset by handling missing values and encoding categorical variables.
Split the dataset into training and testing sets.
Train the Decision Tree model on the training set.
Evaluate the model's performance on the testing set using metrics like accuracy or F1 score.
Feature selection can be done using techniques like filter methods, wrapper methods, and embedded methods.
Filter methods involve selecting features based on statistical measures like correlation, chi-squared test, etc.
Wrapper methods use a specific machine learning algorithm to evaluate the importance of features through iterative selection.
Embedded methods incorporate feature selection within the model training proces...
I appeared for an interview in Jul 2019.
I applied via Campus Placement and was interviewed before Jun 2020. There were 4 interview rounds.
I applied via Approached by Company and was interviewed before Jun 2021. There were 2 interview rounds.
Frameworks provide structure and pre-built components for software development, but can also limit flexibility and require learning curve.
Advantage: Provides structure and pre-built components for faster development
Advantage: Can improve code quality and maintainability
Disadvantage: Can limit flexibility and customization
Disadvantage: Requires learning curve and potential dependency issues
Example: ReactJS provides a fr...
Oops stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent real-world entities.
Advantages: code reusability, modularity, encapsulation, inheritance, polymorphism
Disadvantages: complexity, steep learning curve, performance overhead
Example: creating a class 'Car' with properties like 'make', 'model', and 'year', and methods like 'start_engine' and 'stop_engine'
I applied via Naukri.com and was interviewed before Oct 2019. There was 1 interview round.
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
Data Structure related questions
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
I applied via Referral
based on 1 interview
Interview experience
Software Engineer
136
salaries
| ₹20 L/yr - ₹68.8 L/yr |
Senior Software Engineer
109
salaries
| ₹27.6 L/yr - ₹105 L/yr |
Software Developer
104
salaries
| ₹22.7 L/yr - ₹89.4 L/yr |
Sde1
57
salaries
| ₹28 L/yr - ₹86 L/yr |
Software Development Engineer II
43
salaries
| ₹25 L/yr - ₹96 L/yr |
Salesforce
Amazon
Oracle