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

SDE - 2

Freecharge
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
I applied in FreeCharge Company on LinkedIn for SDE-2 profile and got shortlisted for the interview. Total interview rounds: 3 There are 2 technical rounds and one managerial round which you need to clear in order to get into the company.
Application story
I applied on naukri and got shortlisted for the first interview which went for 1 hr next day I got the news that I have another round 2 days later I went for another round and got rejected.
Why selected/rejected for the role?
I got shortlisted because I was consistently preparing for the role and working on my fundamentals and core learning, also basic coding questions I was practising. Java 8 is must with good knowledge of Threading. and because I was able to answer almost 90% of the questions and solved the coding problem as well First round was on tricky fundamental discussion and 2 coding question which went for 60 minutes where I was able to answer the questions as I was preparing similar kind of questions. The second round went for 60 minutes in which Interviewer asked 1 system design problem.
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, Java 8, Sql, Spring Boot, System Design
Tip
Tip

Tip 1 : Prepare fundamental theory well
Tip 2 : Prepare Easy and medium level questions
Tip 3 : Go through you resume well

Application process
Where: Naukri
Eligibility: B.Tech/MCA
Resume Tip
Resume tip

Tip 1:Make your resume relevant
Tip 2:Mention projects

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 mins
Interview date27 Apr 2023
Coding problem2

1. Balanced parentheses

Moderate
10m average time
90% success
0/80
Asked in companies
WalmartMakeMyTripGoldman Sachs

Given an integer ‘N’ representing the number of pairs of parentheses, Find all the possible combinations of balanced parentheses with the given number of pairs of parentheses.

Note :

Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.

2. Open brackets must be closed in the correct order.

For Example :

()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Problem approach

Stack st = new Stack();

for(int i=0; i 
if(!st.isEmpty() && s.charAt(i)==')' && st.peek()=='('){
st.pop();

else if(!st.isEmpty() && s.charAt(i)==']' && st.peek()=='['){
st.pop();
}
else if(!st.isEmpty() && s.charAt(i)=='}' && st.peek()=='{'){
st.pop();
}
else st.push(s.charAt(i));
}

if(!st.isEmpty()) return false;
return true;

Try solving now

2. Search In Rotated Sorted Array

Easy
12m average time
85% success
0/40
Asked in companies
OYOZSAmazon

You have been given a sorted array/list 'arr' consisting of ‘n’ elements. You are also given an integer ‘k’.


Now the array is rotated at some pivot point unknown to you.


For example, if 'arr' = [ 1, 3, 5, 7, 8], then after rotating 'arr' at index 3, the array will be 'arr' = [7, 8, 1, 3, 5].


Now, your task is to find the index at which ‘k’ is present in 'arr'.


Note :
1. If ‘k’ is not present in 'arr', then print -1.
2. There are no duplicate elements present in 'arr'. 
3. 'arr' can be rotated only in the right direction.


Example:
Input: 'arr' = [12, 15, 18, 2, 4] , 'k' = 2

Output: 3

Explanation:
If 'arr' = [12, 15, 18, 2, 4] and 'k' = 2, then the position at which 'k' is present in the array is 3 (0-indexed).


Try solving now
02
Round
Medium
Online Coding Interview
Duration60 mins
Interview date4 Apr 2023
Coding problem1

1. Design Question

Design Parking lot low level design

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 | 3 problems
Interviewed by Freecharge
2906 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
3320 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 10 problems
Interviewed by Freecharge
3737 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29570 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6678 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5176 views
0 comments
0 upvotes