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

SDE - 1

Coinbase
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I was admitted to DTU in the computer science stream. My seniors advised me to practice DSA from the start of my B.Tech, but I did not take their advice seriously. I regretted not following their advice, and in my third year, I started coding and had to increase my practice hours because I started late.
Application story
I applied for the position through the campus drive. After applying, I practised hard for it, and the hard work finally paid off.
Why selected/rejected for the role?
I think I was on point with my coding solutions to the questions asked in the interviews. I could not provide the optimal solutions and was giving correct explanations to some theory questions asked.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Even if you are stuck on a problem, give it a try. The interviewer will help you. 

Tip 2: Prepare Data Structures and Algorithms well. They mainly check your problem-solving ability to find solutions for real-world problems. 

Tip 3: Be confident and don't be nervous. Maintain at least two projects on your resume.

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

Tip 1: Mention at least two projects. 

Tip 2: Highlight the skills in which you excel. 

Tip 3: Ensure your resume is not too long or too short.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date8 Dec 2022
Coding problem2

1. Sudoku Solver

Hard
25m average time
75% success
0/120
Asked in companies
Urban Company (UrbanClap)OlaInfo Edge India (Naukri.com)

You have been given a 9x9 2d integer matrix 'MAT' representing a Sudoku puzzle. The empty cells of the Sudoku are filled with zeros, and the rest of the cells are filled with integers from 1 to 9. Your task is to fill all the empty cells such that the final matrix represents a Sudoku solution.

Note:
A Sudoku solution must satisfy all the following conditions-
1. Each of the digits 1-9 must occur exactly once in each row.
2. Each of the digits 1-9 must occur exactly once in each column.
3. Each of the digits 1-9 must occur exactly once in each of the 9, 3x3 sub-grids of the grid.

You can also assume that there will be only one sudoku solution for the given matrix.
Try solving now

2. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

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
02
Round
Medium
Video Call
Duration60 minutes
Interview date8 Dec 2022
Coding problem2

1. Occurrence Of Each Word

Easy
10m average time
90% success
0/40
Asked in companies
HCL TechnologiesAmazonMakeMyTrip

You are given a string S of words. Your task is to count the occurrence of each word present in the string S. A word is a sequence of one or more non-space characters, and there can be multiple spaces between two words, and also there can be leading or trailing spaces in a string S.

For Example:
For the given string  “what we think we become”

“what”,” think”, and “become” occurs 1 time, and “we” occurs 2 times in the given string.
Problem approach

Linear search solution was not working there as they are expecting less than O(n) complexity, so I solved this using binary search by finding the first and the last occurrence of element and subtracting them which will give the required answer.

Try solving now

2. Maximum of All Subarrays of Size K

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

You are given an array “A” of N integers. Your task is to find the maximum element in all K sized contiguous subarrays from left to right.

For Example:
If A = [3, 2, 3], and K = 2.
Then max of [3, 2] = 3 and max of [2, 3] = 3
So, the answer will be [3, 3]

If A = [3, 2, 3, 5, 1, 7] and K = 3.
Then max of [3, 2, 3] = 3 
Then max of [2, 3, 5] = 5 
Then max of [3, 5, 1] = 5 
Then max of [5, 1, 7] = 7 
So  the answer will be [3, 5, 5, 7]
Follow Up :
Can you solve the problem in O(N) time complexity and O(K) space complexity?
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 recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Coinbase
1350 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Coinbase
2706 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Coinbase
3848 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Coinbase
1347 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes