Cloudera interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Cloudera
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 5 months
Topics: Object-oriented programming in C++, Data Structure and algorithms, Computer Networks, Operating Systems, Database Management Systems
Tip
Tip

Tip 1 : Practice at least 600 questions.
Tip 2 : Make sure you participate in every coding contests.
Tip 3 : Focus more on your projects.

Application process
Where: Campus
Eligibility: Above 8 CGPA
Resume Tip
Resume tip

Tip 1 : Do not put false things on a resume.
Tip 2 : Have some projects on a resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date6 Aug 2020
Coding problem3

4 coding questions on hackerrank.

1. Dice throws

Hard
35m average time
65% success
0/120
Asked in companies
GoogleMakeMyTripCognizant

You are given D dice, each having F faces numbered 1 to F, both inclusive. The task is to find the possible number of ways to roll the dice together such that the sum of face-up numbers equal the given target S.

Note :
As the answer can be large, return your answer modulo 10^9  + 7.
Follow Up :
Can you solve this using not more than O(S) extra space?
Try solving now

2. Stack using queue

Moderate
25m average time
65% success
0/80
Asked in companies
AccentureQualcommPaytm (One97 Communications Limited)

Implement a Stack Data Structure specifically to store integer data using two Queues.


There should be two data members, both being Queues to store the data internally. You may use the inbuilt Queue.


Implement the following public functions :

1. Constructor:
It initializes the data members(queues) as required.

2. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.

3. pop() :
It pops the element from the top of the stack and, in turn, returns the element being popped or deleted. In case the stack is empty, it returns -1.

4. top :
It returns the element being kept at the top of the stack. In case the stack is empty, it returns -1.

5. size() :
It returns the size of the stack at any given instance of time.

6. isEmpty() :
It returns a boolean value indicating whether the stack is empty or not.
Operations Performed on the Stack:
Query-1(Denoted by an integer 1): Pushes an integer data to the stack. (push function)

Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack and returns it to the caller. (pop function)

Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack but doesn't remove it, unlike the pop function. (top function)

Query-4(Denoted by an integer 4): Returns the current size of the stack. (size function)

Query-5(Denoted by an integer 5): Returns a boolean value denoting whether the stack is empty or not. (isEmpty function)
Example
Operations: 
1 5
1 10
2
3
4

Enqueue operation 1 5: We insert 5 at the back of the queue.
  Queue: [5]

Enqueue operation 1 10: We insert 10 at the back of the queue.
  Queue: [5, 10]

Dequeue operation 2: We remove the element from the front of the queue, which is 5, and print it.
  Output: 5
  Queue: [10]

Peek operation 3: We return the element present at the front of the queue, which is 10, without removing it.
  Output: 10
  Queue: [10]

IsEmpty operation 4: We check if the queue is empty.
  Output: False
  Queue: [10]
Try solving now

3. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
OracleSamsungAccenture

You are given an array 'arr' of length 'n', consisting of integers.


A subarray is a contiguous segment of an array. In other words, a subarray can be formed by removing 0 or more integers from the beginning and 0 or more integers from the end of an array.


Find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.


The sum of an empty subarray is 0.


Example :
Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]

Output: 11

Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date7 Aug 2020
Coding problem1

My 1st technical round began with a small introduction and a discussion on my projects. After that, my complete interview revolved around Object-oriented principles and 1 basic coding question. The interviewer asked all the pillars of Object-oriented along with use cases and where have I implemented them in my projects.

1. Problem Solving

He told me to code basic question on object-oriented in C++ which was quite basic ones and finally, he gave me a scenario in which there is social networking like hierarchy and many people are connected to one another(friends). He told me to code where I would receive 2 person id as an input argument and I have to find common friends of both the persons in the hierarchy. I was able to code this. This technical round was of 1 hour long.

03
Round
Easy
Video Call
Duration45 minutes
Interview date7 Aug 2020
Coding problem1

In my 2nd technical round, the interviewer began with the complete discussion of my projects. He asked me everything about them like which technologies I have used? 

Why I have used them? 

What are the alternatives? 

What are the real-life applications of these projects. 

After this, He asked questions on Computer Networks, Operating system, Database Management system and at the end, some of the SQL queries. SQL queries were quite easy. I found one of the queries tricky and harder as compared to other i.e print nth largest salary of the employees. 

The interviewer also asked me why I was not able to code one of the questions in the coding round. I explained the complete approach of that question and he was quite satisfied. This technical round was of 1 hour long.

1. DBMS Question

Print the nth largest salary from a given list of salaries.

04
Round
Easy
HR Round
Duration35 minutes
Interview date7 Aug 2020
Coding problem1

There were two panellists in this round and they began with a small introduction. One of them asked me about my capstone project which was based on object recognition task and deep learning. 

He just told me to explain deep learning in complete detail and how can it be used on my college campus. 

Then, He asked me what technologies are being used and how I trained my model as the model was quite heavy and computationally intensive. Then, they asked me how I cope up with my team members in the pandemic situation and how I managed to interact with them.

1. Deep Learning

Basic application of Deep Learning and how can I implement it in my college.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is the output of print(type("Python"))?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Cloudera
0 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 6 problems
Interviewed by Cloudera
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3053 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
2629 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
113319 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
56812 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34453 views
6 comments
0 upvotes