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

SDE - Intern

Freecharge
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
Embarking on my coding odyssey during my first year of college was both exhilarating and challenging. Initially grappling with the syntax of languages like Python and Java, I gradually embraced the logic and problem-solving aspects of programming. Each milestone brought a sense of accomplishment as I delved into data structures, algorithms, and web development. Collaborating on projects with peers honed my teamwork and communication skills. Facing bugs and errors became opportunities for learning, fostering resilience. By the end of the initial phase of my coding journey, I had transformed from a novice to a more confident programmer, eager to explore the vast realms of software development that lay ahead.
Application story
This company conducted an initial online assessment followed by three rounds of interviews during their campus placement visit. The interview process consisted of two technical rounds and one round focused on human resources.
Why selected/rejected for the role?
I secured the position due to my ability to comprehend and accurately respond to all the challenges presented during the selection process.
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Regularly participate in coding challenges on platforms like CodeStudio to enhance problem-solving skills and gain exposure to diverse coding scenarios.
Tip 2: Engage in collaborative coding projects focusing on real-world applications. This demonstrates practical coding abilities and enhances teamwork and project management skills, making you more appealing to potential employers.

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

Tip 1: Highlight quantifiable achievements and results in your resume, showcasing the impact of your contributions in previous roles, such as increased efficiency, cost savings, or successful project outcomes.
Tip 2: Tailor your resume for each job application, emphasizing relevant skills and experiences that align with the position's specific requirements. This customization enhances your chances of standing out to recruiters and aligning with the role's needs.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date12 Nov 2022
Coding problem2

Timing: The interview rounds were scheduled during regular working hours, from 10:00 AM to 11:00 Am.
Environment: The interviews took place in a well-lit and professional conference room. The atmosphere was conducive to focused discussions, fostering a positive and collaborative vibe.

1. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
HCL TechnologiesInformaticaSamsung

You are given an array 'arr' of length 'n', consisting of integers.


A subarray is a contiguous segment of an array. In other words, a subarray can be formed by removing 0 or more integers from the beginning and 0 or more integers from the end of an array.


Find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.


The sum of an empty subarray is 0.


Example :
Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]

Output: 11

Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Problem approach

The Maximum Subarray Sum problem involves finding the contiguous subarray within a given array of integers that has the largest sum. In other words, given an array of numbers, the task is to determine the subarray with the maximum sum of its elements.

Try solving now

2. Maximum Product Subarray

Moderate
25m average time
75% success
0/80
Asked in companies
InnovaccerAmazonMicrosoft

You are given an array “arr'' of integers. Your task is to find the contiguous subarray within the array which has the largest product of its elements. You have to report this maximum product.

An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.

For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3]. 
For Example:
If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.
Follow Up:
Can you solve this in linear time and constant space complexity?
Problem approach

Given an array "arr" of integers, your objective is to identify the contiguous subarray within the array that yields the maximum product of its elements. Report this maximum product.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date14 Nov 2022
Coding problem2

Timing: The interview rounds were scheduled during regular working hours, from 10:00 AM to 11:00 Am.
Environment: The interviews took place in a well-lit and professional conference room. The atmosphere was conducive to focused discussions, fostering a positive and collaborative vibe.

1. Flipping Coins

Moderate
32m average time
68% success
0/80
Asked in companies
WalmartAmerican ExpressAthenahealth

Gary has N coins placed in a straight line. Some coins have head side up, and others have the tail side up.

Convention:
1 denotes the HEAD side is up. 
0 denotes the TAIL side is up. 

Now, Gary wants to obtain a maximum number of head-side up coins. He can perform at most one(possibly 0) flip in which he can flip the coins of a continuous interval (continuous subarray).

For example: In the given array (0 based indexing), { 1, 0, 0, 1, 0, 0, 1 }, we can obtain maximum head side up coins by flipping the coins in range 1 to 5. The array will thus become {1, 1, 1, 0, 1, 1, 1 }.

Return the maximum number of heads side up Gary can obtain.

Problem approach

A boy has N coins placed in a straight line, with each coin having either a head (1) or tail (0) side facing up. The objective is to maximize the number of head-side up coins by allowing the boy to perform at most one flip within a continuous interval (subarray). The goal is to return the maximum number of head-side up coins achievable.

Try solving now

2. Count Ways To Reach The N-th Stairs

Moderate
30m average time
80% success
0/80
Asked in companies
PayPalOYOMicrosoft

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair.


Each time, you can climb either one step or two steps.


You are supposed to return the number of distinct ways you can climb from the 0th step to the Nth step.

Note:

Note: Since the number of ways can be very large, return the answer modulo 1000000007.
Example :
N=3

Example

We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
Problem approach

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair. Each time you can either climb one step or two steps. You are supposed to return the number of distinct ways in which you can climb from the 0th step to Nth step.

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date15 Nov 2022
Coding problem1

Timing: The HR round was scheduled during regular working hours, from 11:00 AM to 11:30 AM.

Environment: The HR interview took place in a comfortable and welcoming environment.

1. HR Round

Tell me about yourself.
Why are you interested in this position?
What is the difference between hard work and smart work?

Problem approach

Tip 1: Craft a Concise Personal Introduction:
When responding to "Tell me about yourself," focus on key aspects of your professional journey, emphasizing relevant skills, experiences, and achievements. Keep it concise, providing a snapshot of your career and personal attributes.

Tip 2: Research and Align Goals:

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 | 2 problems
Interviewed by Freecharge
1611 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Freecharge
0 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Freecharge
674 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Freecharge
42 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes