Filter interviews by
I applied via LinkedIn and was interviewed in Sep 2021. There were 4 interview rounds.
Program to filter out only alphabets from an email address.
Create a function that takes an email address as input.
Use regular expressions to filter out only alphabets.
Return the filtered alphabets as an array of strings.
Program to filter and sort alphabets from email address without disturbing other characters.
Use regular expressions to filter out alphabets from email address.
Store the filtered alphabets in an array and sort it.
Iterate through the email address and replace the alphabets with sorted array elements.
Return the modified email address.
posted on 13 Feb 2024
I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.
The angle between the hour hand and minute hand of a clock at a particular time.
The angle between the hour hand and minute hand can be calculated using the formula: angle = 30 * (hour % 12) + 0.5 * minutes
If the angle is greater than 180 degrees, subtract it from 360 to get the smaller angle
For example, at 3:15, the hour hand is at 97.5 degrees and the minute hand is at 90 degrees, so the angle between them is 7.5 degr
posted on 2 Mar 2023
I applied via Campus Placement and was interviewed in Feb 2023. There were 4 interview rounds.
No of Questions : 4 questions
Difficulty : Difficult
Topics : Sieve of eratosthenis, DP, Hashing
Search for an element in a rotated sorted array using binary search with pivot.
Find the pivot element using binary search.
Compare the target element with the first element of the array to determine which half to search.
Perform binary search on the selected half of the array.
Repeat until the target element is found or the array is exhausted.
Sort an array of 0's, 1's, and 2's using two pointer approach.
Initialize two pointers, one at the beginning and one at the end of the array.
Traverse the array and swap 0's to the beginning and 2's to the end using the pointers.
Stop when the pointers meet or cross each other.
ID selector is used to select an element with a specific ID attribute in CSS.
ID selector is denoted by '#' followed by the ID name.
ID should be unique on a page.
ID selector has higher specificity than class selector.
Example: #header { color: blue; }
ShallowCopy copies only the reference of an object while DeepCopy creates a new object with a new reference.
ShallowCopy creates a new reference to the same object, so changes made to the copy will reflect in the original object.
DeepCopy creates a new object with a new reference, so changes made to the copy will not reflect in the original object.
ShallowCopy is faster and less memory-intensive than DeepCopy.
DeepCopy is ...
Copy constructor is a special constructor that creates a new object by copying an existing object.
It is used to create a new object with the same values as an existing object.
It takes an object of the same class as a parameter.
It is automatically called when a new object is created from an existing object.
It creates a deep copy of the object, meaning that all the member variables are copied.
Example: class MyClass { pub...
Operator overloading allows operators to have different meanings based on the context of their usage.
Operator overloading is a feature in object-oriented programming languages.
It allows operators to be redefined for custom classes.
For example, the '+' operator can be overloaded to concatenate strings or add numbers.
It can improve code readability and reduce the amount of code needed for certain operations.
Struct is a value type while class is a reference type in C#.
Structs are stored on the stack while classes are stored on the heap.
Structs cannot be inherited while classes can be inherited.
Structs do not support destructors while classes do.
Structs are used for small data structures while classes are used for larger, more complex objects.
Example of struct: struct Point { public int X; public int Y; }
Example of class: c...
Search an element in an infinite sorted array using binary search.
Initialize low as 0 and high as 1.
Double the high index until arr[high] is greater than the target element.
Perform binary search between low and high indexes.
posted on 10 Feb 2023
Easy to Medium Data Structures Question they will ask
posted on 29 Feb 2024
I applied via campus placement at Lovely Professional University (LPU) and was interviewed in Mar 2023. There was 1 interview round.
6 questions to be dones in 1 hr 5 mins
posted on 13 Feb 2024
I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.
The angle between the hour hand and minute hand of a clock at a particular time.
The angle between the hour hand and minute hand can be calculated using the formula: angle = 30 * (hour % 12) + 0.5 * minutes
If the angle is greater than 180 degrees, subtract it from 360 to get the smaller angle
For example, at 3:15, the hour hand is at 97.5 degrees and the minute hand is at 90 degrees, so the angle between them is 7.5 degr
posted on 2 Mar 2023
I applied via Campus Placement and was interviewed in Feb 2023. There were 4 interview rounds.
No of Questions : 4 questions
Difficulty : Difficult
Topics : Sieve of eratosthenis, DP, Hashing
Search for an element in a rotated sorted array using binary search with pivot.
Find the pivot element using binary search.
Compare the target element with the first element of the array to determine which half to search.
Perform binary search on the selected half of the array.
Repeat until the target element is found or the array is exhausted.
Sort an array of 0's, 1's, and 2's using two pointer approach.
Initialize two pointers, one at the beginning and one at the end of the array.
Traverse the array and swap 0's to the beginning and 2's to the end using the pointers.
Stop when the pointers meet or cross each other.
ID selector is used to select an element with a specific ID attribute in CSS.
ID selector is denoted by '#' followed by the ID name.
ID should be unique on a page.
ID selector has higher specificity than class selector.
Example: #header { color: blue; }
ShallowCopy copies only the reference of an object while DeepCopy creates a new object with a new reference.
ShallowCopy creates a new reference to the same object, so changes made to the copy will reflect in the original object.
DeepCopy creates a new object with a new reference, so changes made to the copy will not reflect in the original object.
ShallowCopy is faster and less memory-intensive than DeepCopy.
DeepCopy is ...
Copy constructor is a special constructor that creates a new object by copying an existing object.
It is used to create a new object with the same values as an existing object.
It takes an object of the same class as a parameter.
It is automatically called when a new object is created from an existing object.
It creates a deep copy of the object, meaning that all the member variables are copied.
Example: class MyClass { pub...
Operator overloading allows operators to have different meanings based on the context of their usage.
Operator overloading is a feature in object-oriented programming languages.
It allows operators to be redefined for custom classes.
For example, the '+' operator can be overloaded to concatenate strings or add numbers.
It can improve code readability and reduce the amount of code needed for certain operations.
Struct is a value type while class is a reference type in C#.
Structs are stored on the stack while classes are stored on the heap.
Structs cannot be inherited while classes can be inherited.
Structs do not support destructors while classes do.
Structs are used for small data structures while classes are used for larger, more complex objects.
Example of struct: struct Point { public int X; public int Y; }
Example of class: c...
Search an element in an infinite sorted array using binary search.
Initialize low as 0 and high as 1.
Double the high index until arr[high] is greater than the target element.
Perform binary search between low and high indexes.
posted on 10 Feb 2023
Easy to Medium Data Structures Question they will ask
posted on 29 Feb 2024
I applied via campus placement at Lovely Professional University (LPU) and was interviewed in Mar 2023. There was 1 interview round.
6 questions to be dones in 1 hr 5 mins
posted on 1 Jun 2022
I applied via Referral
Associate Product Developer
16
salaries
| ₹4 L/yr - ₹6 L/yr |
Software Engineer
9
salaries
| ₹2.6 L/yr - ₹10.1 L/yr |
UI Developer
7
salaries
| ₹3 L/yr - ₹6.2 L/yr |
Product Support Engineer
6
salaries
| ₹3.5 L/yr - ₹4.5 L/yr |
Production Analyst
6
salaries
| ₹3 L/yr - ₹5.5 L/yr |
TCS
Infosys
Wipro
HCLTech