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

SDE - 1

2 rounds | 4 Coding problems
upvote
share-icon

Interview preparation journey

expand-icon
Application story
I applied via a referral. At my previous organization, where I was interning, one of my colleagues had worked at FreeCharge and informed me about an internal opening there. Since I did not see any chances of receiving an FTE offer at my current company, I decided to apply.
Preparation
Duration: 1.5 months
Topics: Data Structures and Algorithms, DBMS, Node.js, MySQL, Computer Networks, React.js, JavaScript
Tip
Tip

Tip 1: Make your preparation a bit more diverse by maintaining a good mix of DSA and web development skills while applying for off-campus roles as a fresher, as companies nowadays look for candidates who are proficient in at least one tech stack and have strong problem-solving skills.

Tip 2: Also, don’t forget to prepare core subjects like DBMS, OS, and CN.

Application process
Where: Referral
Eligibility: There was no such eligibility requirement. I applied through a referral from one of my colleagues at my previous organization. (Salary Package: 12 LPA)
Resume Tip
Resume tip

Tip 1: Try to add and be able to explain at least 1–2 projects on your resume, and prepare them well before the interview.

Tip 2: Try to include as many figures and relevant links (e.g., project links, profile links, etc.) as possible, as this adds a sense of authenticity for the company you’re applying to and can significantly improve your ATS (resume score).

Interview rounds

01
Round
Medium
Face to Face
expand-icon
Duration60 Minutes
Interview date17 Jul 2024
Coding problem2

1. Search In A Rotated Sorted Array II

Easy
0/40
Asked in companies
AmazonFacebookFreecharge

You are given a rotated sorted array 'a' of length 'n' and a 'key'. You need to determine if the 'key' exists in the array 'a'.


The given sorted array is rotated from an unknown index 'x'. Such that after rotation the array became [a[x], a[x+1]...., a[n-1], a[1]..., a[x-1]], (0-based indexing). For example, if the array is [1, 2, 3, 4, 5] and x = 2 then the rotated array will be [3, 4, 5, 1, 2, 3].


Return True if the 'key' is found in 'a'. Otherwise, return False.


Note: Array ‘a’ may contain duplicate elements.


Example:

Input: a = [6, 10, 1, 3, 5], key = 3

Output: True

Explanation: The array 'a' contains the 'key' = 3, so we return True.


Save this for later

2. Rat In A Maze

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

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a square matrix of order 'N' * 'N' where the cells with value 0 represent the maze’s blocked locations while value 1 is the open/available path that the rat can take to reach its destination. The rat's destination is at ('N' - 1, 'N' - 1). Your task is to find all the possible paths that the rat can take to reach from source to destination in the maze. The possible directions that it can take to move in the maze are 'U'(up) i.e. (x, y - 1) , 'D'(down) i.e. (x, y + 1) , 'L' (left) i.e. (x - 1, y), 'R' (right) i.e. (x + 1, y).

Note:
Here, sorted paths mean that the expected output should be in alphabetical order.
For Example:
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1 
Expected Output:
DDRDRR DRDDRR 
i.e. Path-1: DDRDRR and Path-2: DRDDRR

The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.
Save this for later
02
Round
Medium
Face to Face
expand-icon
Duration50 minutes
Interview date19 Jul 2024
Coding problem2

1. DS Discussion

It was not a proper coding problem but rather a general discussion on data structures. The interviewer asked about my favorite data structure, and I said it was trees. Later, questions related to trees and binary trees were asked, such as the major differences between them, their use cases, when to use each, and how they are implemented in memory.

2. SQL Queries

I was asked to write some SQL queries and assume the database schema and data types on my own.

Question 1: Write an SQL query to retrieve the top-rated photos from a user’s social media account based on likes and shares, with likes given higher priority than shares.

Question 2: This was a follow-up to the first question. I was asked to do the same for all followers (considering a separate schema where followers are linked to the user) in an optimized manner.

Here's your problem of the day

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

Skill covered: Programming

Why is temperature=0 a poor fix for factual hallucinations?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Freecharge
2907 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 2 problems
Interviewed by Freecharge
1615 views
0 comments
0 upvotes
company logo
SDE - 2
2 rounds | 3 problems
Interviewed by Freecharge
3098 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Freecharge
45 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114602 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57846 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34967 views
7 comments
0 upvotes