Filter interviews by
Reverse a string means to flip the characters in the string order.
Use a loop to iterate through the characters of the string in reverse order
Append each character to a new string to build the reversed string
Alternatively, use built-in functions like reverse() in some programming languages
To print the characters of my name which are not repetitive, I would iterate through each character and only print those that appear once.
Iterate through each character in the name
Check if the character appears only once in the name
Print the character if it is not repetitive
The application used for automation testing is Selenium WebDriver.
Selenium WebDriver is a popular tool for automating web applications.
It supports multiple programming languages such as Java, Python, and C#.
Selenium WebDriver allows testers to interact with web elements and perform actions like clicking buttons, entering text, and verifying text.
It can be integrated with testing frameworks like TestNG and JUnit for tes...
We are using the Page Object Model framework in our current project.
Page Object Model helps in creating reusable and maintainable code by separating the page elements and their actions into separate classes.
It improves test maintenance and reduces code duplication.
Example: We have separate classes for each page in our application, containing locators and methods to interact with those elements.
C++ program to reverse a string
Use a loop to iterate through the string
Swap the characters at the beginning and end of the string
Continue swapping until the middle of the string is reached
I applied via Referral and was interviewed before Apr 2020. There were 3 interview rounds.
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 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 1 interview
Interview experience
Senior Consultant
1.3k
salaries
| ₹6 L/yr - ₹21.1 L/yr |
Staff Consultant
1.1k
salaries
| ₹4.5 L/yr - ₹13.6 L/yr |
Associate Consultant
1k
salaries
| ₹3.3 L/yr - ₹10 L/yr |
Principal Consultant
702
salaries
| ₹8.8 L/yr - ₹29 L/yr |
Application Developer
481
salaries
| ₹6 L/yr - ₹23 L/yr |
Oracle
KPIT Technologies
24/7 Customer
Intellect Design Arena