Tip 1 : Practice data structures and algorithms daily.
Tip 2 : Do at least one project and be ready with any type of questions based on the project.
Tip 3 : Have a proper understanding of all the CS fundaments and OOPs concepts.
Tip 4 : If you have have learn basics of system design.
Tip 1 : Do not mention such skills in which you are not so confident.
Tip 2 : Have at least one project.
Tip 3 : Do not keep so much of empty spaces.
Tip 4 : Use hyperlinks to attach your programming accounts and project (if it is hosted somewhere or else github).
Test was conducted on Hackerearth.
Test consist of 3 questions (1 medium strings related question + 1 hard digit dp question + 1 hard lazy segment tree question)
1) A palindrome is a word, number, phrase, or another sequence of characters that reads the same backward as forward, such as 'naman', 'abcba', '1234321', etc
2) The numerical value of the given string 'S' will be greater than 0.
3) A single-digit number is also considered as a palindrome.
4) Note that the length of the string 'S' is nothing but the number of digits in the number 'N'.
If there exists no subarray in the given sequence whose sum is divisible by ‘K’ then simply return ‘0’.
Suppose the given array is ‘ARR’ = { 5, 0, 2, 3, 1} and ‘K = 5’.
As we can see in below image, there are a total of 6 subarrays that have the total sum divisible by ‘K’
So we return the integer 6.
Timing : 8:00 am - 9:30 am
The interview took place on google meet. The interviewer gave 1 coding question on google docs and have to write the code on google doc itself.
After 45 minutes a second interviewer came in the same meeting and he also gave a coding question in the same google doc.
The rank of any element in ‘ARR’ is equal to the number of smaller elements than ‘ARR[K]’ on its left side.
Input :
Let ‘ARR’’ = [6, 2, 9, 7] and ‘X’ = 3.
We can see there are two smaller elements than ‘ARR[3]’ = 7 on its left side
Output: 2
Try to find rank in less time complexity than O(N), you may use some data structure to implement this.
1. Delete a character
2. Replace a character with another one
3. Insert a character
Strings don't contain spaces in between.
Process vs thread
why we do threading, advantages of multithreading.
What is context switching?
Where do we store the process data when we do the context switching.
Memory layout of process.
What fields change when we do context switching (process context switching and thread context switching both)
What is concurrency control is dbms.
How is synchronization done in readers and writers.
Explain meta tags in HTML
What Is Load Balancing?
Explain the CSS “box model” and the layout components that it consists of
Timing : 10:30 am - 11:30 am
The interview took place on google meet. The interviewer gave 1 coding question on google docs and have to write the code on google doc itself.
The Number of elements smaller than 4 on its right side is 2.
The Number of elements smaller than 2 on its right side is 1.
The Number of elements smaller than 1 on its right side is 0.
The Number of elements smaller than 5 on its right side is 0.
Hence the count array is [2,1,0,0]
What is critical section.
How does mutex work.
How does semaphores work and how it is implemented.
Binary vs counting semaphores.
Difference betweek mutex and binary semaphore.
Can we replace a code written with mutex by semaphores.
what are spinlocks.
Advantages and disadvantages of spinlocks.
Timing : 11:45am - 12:00 pm.
The interview took place on google meet.
Introduce yourself.
Tell me about your family and friends.
Tell me somthing that you love to do.
What do you expect from Sprinklr.
Where do you want to see yourself from 3-4 years from now.
Tip 1 : Be confident while giving the answer
Tip 2 : Be honest while sharing your thoughts.
Tip 3 : Be prepared with your answers for the most asked HR interview questions.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you create a function in JavaScript?