Round 1- Technical Round
This round was the first round and the interviewer discussed some basic competitive programming problems and project details in this round. The interviewer made me comfortable by asking basic questions like what my interests were and what languages I could code in. The interviewer then proceeded with one question.
Question 1: kth smallest element
Solution: I had prepared for this question on w3wiki therefore, I was confident about the question. I proceeded with the priority queue approach and used two loops to compare the current array element with the element at the top of the priority queue. Here is the code
int kthSmallest(int arr[], int l, int r, int k) {
priority_queue<int> pq;
for(int i=l;i<=r;i++){
if(i<=k-1) pq.push(arr[i]);
else if(arr[i]<pq.top()){
pq.pop();
pq.push(arr[i]);
}
}
return pq.top();
}
Supportiv Interview Experience for Software Engineer
Supportiv is a social support company that helps people with mental, and emotional issues. The applications for software roles in this company were open in April end. I applied for the role by filling out the form on the LinkedIn platform. I will share my interview experience here so that it can be helpful to people preparing for interviews. Everyone with a CPI greater than 7.5 was shortlisted for the interview calls. There were three rounds, let us discuss each of them.