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

SDE

CredAvenue
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, OOPS, Dynamic Programming, System Design, DBMS.
Tip
Tip

Tip 1 : Be clear with the Basics of DSA
Tip 2 : Practice few questions from every Topic

Application process
Where: Linkedin
Eligibility: 1 Year Of Experience
Resume Tip
Resume tip

Tip 1 : Be clear what you are doing in current company
Tip 2 : Have some personal projects as well.

Interview rounds

01
Round
Easy
Face to Face
Duration60 minutes
Interview date3 Jun 2022
Coding problem2

DSA Based Round

1. 3Sum

Moderate
15m average time
85% success
0/80
Asked in companies
IntuitSamsungGrofers

You are given an array/list ARR consisting of N integers. Your task is to find all the distinct triplets present in the array which adds up to a given number K.

An array is said to have a triplet {ARR[i], ARR[j], ARR[k]} with sum = 'K' if there exists three indices i, j and k such that i!=j, j!=k and i!=j and ARR[i] + ARR[j] + ARR[k] = 'K'.

Note:
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Problem approach

used 3 pointer approach with Time complexity: O(N^2).

Try solving now

2. K Most Frequent Elements

Moderate
10m average time
85% success
0/80
Asked in companies
WalmartOracleFacebook

You are given an Integer array ‘ARR’ and an Integer ‘K’.


Your task is to find the ‘K’ most frequent elements in ‘ARR’. Return the elements in any order.


For Example:

You are given ‘ARR’ = {1, 2, 2, 3, 3} and ‘K’ = 2. 

The answer will {2, 3} as 2 and 3 are the elements occurring most times.
Problem approach

used Heap-based approach to solve

Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date9 Jun 2022
Coding problem2

DSA based Round

1. Predecessor And Successor In BST

Moderate
25m average time
65% success
0/80
Asked in companies
AdobeGoldman SachsDirecti

Given a binary search tree of integers containing 'N' nodes. You have also been given an integer X.

Your task is to find the inorder successor and predecessor of the given X. Formally, print an array/list containing the inorder predecessor and successor in the same order.

For Example:
For the BST given below:

alttext

The inorder predecessor of 6 is 4.
The inorder successor of 6 is 7.
The inorder predecessor of 10 is 8.
The inorder successor of 10 is 13.

Note:

If there is no inorder predecessor or successor of 'X', then add -1 to the answer vector in its place.
Try solving now

2. Single Element in a Sorted Array

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

You are given a sorted array ‘arr’ of ‘n’ numbers such that every number occurred twice in the array except one, which appears only once.


Return the number that appears once.


Example:
Input: 'arr' = [1,1,2,2,4,5,5]

Output: 4 

Explanation: 
Number 4 only appears once the array.


Note :
Exactly one number in the array 'arr' appears once.


Problem approach

expected solution in LogN time. Used Binary Search Approach.

Try solving now
03
Round
Easy
Face to Face
Duration60 minutes
Interview date16 Jun 2022
Coding problem1

Hiring Manager Round

1. Technical Questions

Had a discussion with HM on Basic LLD concepts.
Had a discussion on projects mentioned in my Resume.
Had a deep discussion on the current work I was doing in my current company.
Behavioral Questions were also asked.

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
Senior Software Engineer
3 rounds | 4 problems
Interviewed by CredAvenue
1078 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE
3 rounds | 6 problems
Interviewed by PhonePe
0 views
0 comments
0 upvotes
company logo
SDE
5 rounds | 8 problems
Interviewed by Mathworks
1205 views
0 comments
0 upvotes
company logo
SDE
4 rounds | 7 problems
Interviewed by PhonePe
0 views
0 comments
0 upvotes