Open In App

Sprinklr Interview Experience | (On Campus for Internship)

Last Updated : 13 Aug, 2020
Like Article

Round One :

  It was an online coding test conducted on HackerEarth. A test consisting of 3 coding questions. 

  • given an integer matrix(m) of the NxM dimension.In one move you can go from position (i,j) to eighter (i+m[i][j] , j) or (i,j+m[i][j]). Initially, you are on at (1,1) and you wanted to reach (N, M).  So, you have to print a minimum number of moves to reach (N, M), and if it is not possible then print -1. NOTE: You can not jump outside the matrix. (i.e. in any move i+m[i][j] < N or j+m[i][j]<M).   (75 Marks)

           Hint: Minimum distance between source and destination using BFS algorithm.

  • There are N different packages. the ith package is of X[i] days and the price of that package is Y[i]. There are M customers. the jth customer wants the package of at least A[j] days and he doesn’t want to spend more than B[j] for any package.  One package can accommodate at most one customer and a customer can buy at most one package.  You have to find the maximum number of packages, you can sell. (100 marks)
  • Given two binary strings A and B. In one move you can choose any two adjust numbers from string A and replace any of them with XOR of them and another one with OR of them. Ex:  A=0010110. You chose 0 and 1 so, 0 XOR 1=1 and 0 OR 1=1 so, 01 becomes 11. You can apply this move on string A any number of times and it is possible to make string B from A then return YES otherwise NO. (50 Marks)

My first and third are accepted and the second one is partially corrected and I got 90 out of 100 in second. So, I am shortlisted for the next round along with the other 47 students.

Round Two(Technical Round- Face to Face) | Online Interview:

The Interviewer was very nice and he made a very comfortable environment. First, he introduced himself and also explained to me about his work and project. Then he asked me to introduce myself.  Then he asked me a coding question.

  • Given a numeric string of length N and an integer K. You have to erase K digit from string i.e. remaining string is smallest possible.              EX: Given string 56138451 and K=3 then erase 6(at 2nd), 5(at 1st), 8(at  5th). Hence answer is 13451.

My first approach was wrong and then he asked me to take different inputs and find output and then I came with the brute force method of time complexity O(K*N). We discussed this approach and he asked me to reduce the time complexity. I tried out different ways and at last, I came up with an O(N) approach. We discuss that approach and then he asked to implement that approach.

At last, he asked me if I had any questions for him. 

Round Three(Technical Round – Face to Face) | Online Interview:

The interviewer has directly started with the coding question.

  • You have an empty space of L length. given an array W.  W[i] is the width of the ith tree. W1, W2 …… all are different and you have many trees of that width. You have to plant a tree in space of length L i.e. No empty space is remaining in other word sums of a width of planted trees is L.  This is a standard question of DP. Please go through the coin change DP problem. (This is the same question.) here is the link of that problem:  

First I told him that this problem has both properties of DP. (Overlapping Subproblem and Optimal Structure) and then I wrote the mathematical equation of DP and then discuss this approach with him. He asked me to implement this and also asked me to draw a table of DP.

  • We discuss about Hashmap in details and he asked me to write a class of hashmap. I implement a Hashmap class using modular as a hash function and wrote insert and find method in the class.
  • At last, he gave me a situation like you have to prioritize the student on the basis of the number of interviews, he has given(Student with a lower number of interviews goes first). If two students have given the same number of interviews then the student with a higher score in the exam goes first and the score of the exam is unique. then asked me what data structure should I used and how can I solved this problem.  I told him we can use set<pair<int, int>>. But he told me that if in other languages doesn’t support set then what? So, I explained to him then we can also create our own data structure on the basis of a Binary search tree and AVL tree and then we discuss about binary search tree.

Round Four(Technical Round – Face to face) | Online Interview: 

there are two interviewers in this round.  He asked me the following question,

Problem Statement: Given my location and given an array of N different driver’s location. So, how can I find the nearest driver location?  I told them to use set<pair<int, int>> and the first argument is the distance of the ith driver from me and the second argument is an index of driver that is I. and discuss the time complexity of insert and erase function of set and algorithm of this problem’s solution.

Problem Statement: There is a building of the N floor and there are two lifts in that building and I have to design a time-efficient algorithm for these two lift. He said that there is no optimal solution for this but just wanted to know how many different scenarios you can think.

At last, he saw my CV and asked a question from my project. and then he asked me if I had any questions for any of them.

Final Round (HR) | Online Interview :

It was a very interesting round and very chill. She asked very typical HR question like Why do want to join sprinklr?, Introduce your self. Then asked some question from my resume.

At last, she asked me if I have any questions for her. Asking questions to the interviewer is a good sign as it shows your interest in the company.

Final Verdict: SELECTED

Previous Article
Next Article

Similar Reads

Sprinklr Internship Interview Experience (On-Campus)
Round One Coding test of 1.5 Hours: It was an online coding test conducted on HackerRank. A test consisting of 3 coding questions. A medical team wants to send a minimum number of workers for vaccinating people in the city, each worker can vaccinate people in an area whose radius is D, and can start from anywhere, an array is given which tells the
4 min read
Sprinklr Interview Experience For Internship (On-Campus)
Round 1: Coding Round (2 hrs) The first round was the coding round conducted on HackerEarth. There were 40 Multiple Choice Questions based on C, OOPS, OS, DS-Algo and aptitude(around 20 questions). These were basic questions. There were 3 more coding questions :- Question 1 : (50 marks)  It is the simple question. You have to apply level order BFS
3 min read
Sprinklr Interview Experience | On-Campus 2020 for FTE (Internship +Job)
Round one : (Coding test) It was an online coding test conducted on HackerEarth. A test consisting of 3 coding questions. Given two binary strings A and B. In one move you can choose any two numbers from string A and replace any of them with XOR of them and another one with OR of them. Ex: A=0010110. You chose 0 and 1 so, 0 XOR 1=1 and 0 OR 1=1 so,
6 min read
Sprinklr Interview Experience for On-Campus Internship
Round 1: This round had 3 questions. The questions were modifications of the below problems Given a set of N strings is said to be GOOD SET if no string is a prefix of another string else, it is BAD SET. (If two strings are identical, they are considered prefixes of each other.). Print if a given set of strings is a GOOD SET or BAD SET. This questi
3 min read
Sprinklr Interview Experience for Product Engineer Internship (On-Campus)
Company: SprinklrRole: Product Engineer InternLocation: Gurugram, INDBranch: Non-circuital (Civil Engineering) So there was one coding test for interview shortlisting, two technical and one HR interview. The coding test consisted of 3 questions focused on algorithms; the pattern was the same as the standard Sprinklr intern test.The test was online,
2 min read
Sprinklr Interview Experience for Internship (On-Campus) 2022
Round 1: Coding Round (2 hrs): The first round was an online coding round that consisted of 3 questions : It was a very basic question on prefix sum.There are a total of n tasks, labeled from 0 to n-1. Some tasks may have prerequisites, for example, to pick task 0 you have to first pick task 1, which is expressed as a pair : [0, 1]Given the total n
4 min read
Sprinklr Internship Interview Experience
Round 1 (Coding) : It was conducted on HackerRank . Question - 1 : Given a tree with n nodes rooted at given root node r and having values associated with all the nodes. You have to answer two types of queries :- sum i - In this query you have to print the sum of the sub-tree of the node i including the node i . update i, k :- In this query you hav
5 min read
Sprinklr Internship Interview Experience for Product Engineer
Sprinklr came to our college on Day1 (August 2021) for a Product Engineer Internship. Round 1(Coding Round): It comprises of 3 coding Questions on HackerRank One question was based on checking the given Graph is bipartite or not. The main catch was to figure out that it is a bipartite problem.In one question, you have to tell whether you can reach
3 min read
Sprinklr Interview Experience For Product Engineering Internship (2024)
I was thrilled to be shortlisted for the Sprinklr Product Engineering internship, and the entire interview process consisted of four rounds. Round 1: Online Assessment (OA)The journey began with an online assessment featuring three coding questions. The challenges were designed to evaluate problem-solving skills and coding proficiency. Round 2: Cod
1 min read
Sprinklr On Campus Internship
Sprinklr visited our campus as part of Internship Drive. Around 170 students of CSE, ECE and EEE participated in the First Round.Details goes like this. Round 1:(Technical Aptitude + Coding) - 450 Marks The first round comprised of 20 Technical Aptitude and 3 Coding Questions and was held on HackerEarth platform.It was of 2 hrs duration and each of
4 min read