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

Software Engineer

Cloudera
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3.5 months
Topics: OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : prepare topics
Tip 2 : read books
Tip 3 : practice coding

Application process
Where: Campus
Eligibility: no
Resume Tip
Resume tip

Tip 1 : Make it short and crisp
Tip 2 : Write what you know

Interview rounds

01
Round
Easy
Online Coding Test
Duration120 Minutes
Interview date3 Aug 2022
Coding problem3

Coding Round conducted on Hackerrank platform. There were 4 questions, one based on the heap, one math, one tree(a variation of max sum path), and one SQL query. Solved 2 fully, and 2 partially.

1. Build Heap

Moderate
30m average time
70% success
0/80
Asked in companies
OYOSamsungSAP Labs

You are given an integer array with N elements. Your task is to build a max binary heap from the array.

A max-heap is a complete binary tree in which the value of each internal node is greater than or equal to the values of the children of that node.

Note :
You do not need to print anything, just return the vector representation of the heap such that the input array follows 0 - based indexing and :

The left child of the ith node is at (2 * i + 1)th index.

The right child of the ith node is at (2 * i + 2)th index.

Parent of the node present at ith index is at (i - 1) / 2 indexes.
Problem approach

use heap

Try solving now

2. Maximum Sum Rectangle

Easy
15m average time
85% success
0/40
Asked in companies
GojekAdobePhonePe

You are given a matrix ‘ARR’ with ‘N’ rows and ‘M’ columns. Your task is to find the maximum sum rectangle in the matrix.

Maximum sum rectangle is a rectangle with the maximum value for the sum of integers present within its boundary, considering all the rectangles that can be formed from the elements of that matrix.

For Example
Consider following matrix:

The rectangle (1,1) to (3,3) is the rectangle with the maximum sum, i.e. 29.

Problem approach

use math

Try solving now

3. Maximum Sum Path Of A Binary Tree.

Hard
25m average time
75% success
0/120
Asked in companies
InfosysSamsungDirecti

You are given a binary tree having 'n' nodes. Each node of the tree has an integer value.


Your task is to find the maximum possible sum of a simple path between any two nodes (possibly the same) of the given tree.


A simple path is a path between any two nodes of a tree, such that no edge in the path is repeated twice. The sum of a simple path is defined as the summation of all node values in a path.

Try solving now
02
Round
Easy
Video Call
Duration45 minutes
Interview date5 Aug 2022
Coding problem3

It started with an introduction. The interviewer was really sweet and patient. He asked me to solve 3 coding questions on the Codebunk platform.
He asked me a few questions regarding my project in web development and asked how I would integrate Ads into my website.
I mentioned Google AdSense, he asked how google AdSense works, and how cookies work.

1. Implement Stack With Linked List

Moderate
30m average time
73% success
0/80
Asked in companies
SAP LabsDeutsche BankQualcomm

You must implement the Stack data structure using a Singly Linked List.


Create a class named 'Stack' which supports the following operations(all in O(1) time):


getSize: Returns an integer. Gets the current size of the stack

isEmpty: Returns a boolean. Gets whether the stack is empty

push: Returns nothing. Accepts an integer. Puts that integer at the top of the stack

pop: Returns nothing. Removes the top element of the stack. It does nothing if the stack is empty.

getTop: Returns an integer. Gets the top element of the stack. Returns -1 if the stack is empty
Try solving now

2. Merge Two Sorted Arrays

Moderate
15m average time
85% success
0/80
Asked in companies
Tata Consultancy Services (TCS)AmazonOla

Ninja has been given two sorted integer arrays/lists ‘ARR1’ and ‘ARR2’ of size ‘M’ and ‘N’. Ninja has to merge these sorted arrays/lists into ‘ARR1’ as one sorted array. You may have to assume that ‘ARR1’ has a size equal to ‘M’ + ‘N’ such that ‘ARR1’ has enough space to add all the elements of ‘ARR2’ in ‘ARR1’.

For example:

‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’. 
‘ARR1’ = [3 4 6 9 10]
Try solving now

3. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
CIS - Cyber InfrastructureUrban Company (UrbanClap)PhonePe

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Try solving now

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
SDE - 1
4 rounds | 6 problems
Interviewed by Cloudera
1556 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 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
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree
11969 views
7 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7686 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9649 views
1 comments
0 upvotes