Add office photos
Freecharge logo
Engaged Employer

Freecharge

Verified
3.8
based on 306 Reviews
Filter interviews by
Fresher
Experienced
Clear (1)

Freecharge Interview Questions and Answers for Freshers

Updated 19 Oct 2024

Q1. Whatsapp low level design

Ans.

Whatsapp low level design involves messaging, encryption, media sharing, and user authentication.

  • Use end-to-end encryption to secure messages

  • Implement message queues for real-time message delivery

  • Allow media sharing through file transfer protocols

  • Use OAuth for user authentication and authorization

Add your answer
right arrow

Q2. Remove kth node from end

Ans.

Remove the kth node from the end of a linked list.

  • Use two pointers, one to traverse the list and another to keep track of the kth node from the end.

  • Once the first pointer reaches the end, the second pointer will be at the kth node from the end.

  • Adjust the pointers to remove the kth node.

Add your answer
right arrow

Q3. 1. stock price with max profit.

Ans.

Finding the stock price with maximum profit.

  • Calculate the difference between each day's stock price and the minimum stock price seen so far.

  • Find the maximum difference calculated in the previous step.

  • The maximum difference is the maximum profit that can be made.

  • Add the maximum difference to the minimum stock price to get the stock price with maximum profit.

Add your answer
right arrow

Q4. Number of subset

Ans.

Calculate the number of subsets of a given set

  • The number of subsets of a set with n elements is 2^n

  • Include the empty set and the set itself in the count

  • For example, a set with 3 elements will have 2^3 = 8 subsets

Add your answer
right arrow
Discover Freecharge interview dos and don'ts from real experiences

Q5. 2.all zeroes at the end of the array.

Ans.

To count the number of zeroes at the end of an array.

  • Loop through the array from the end and count the number of zeroes until a non-zero element is encountered.

  • Use a while loop to keep dividing the last element by 10 until it is not divisible by 10 to count the number of zeroes.

  • If the array is sorted in non-increasing order, use binary search to find the last non-zero element and subtract its index from the length of the array.

Add your answer
right arrow

Q6. How to write docker file

Ans.

A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.

  • Start with a base image using the FROM keyword

  • Use the RUN keyword to execute commands in the container

  • Use the COPY keyword to add files from the host machine to the container

  • Use the CMD keyword to specify the command to run when the container starts

Add your answer
right arrow

Q7. Explain file system in linux

Ans.

File system in Linux organizes and manages data on storage devices.

  • File system controls how data is stored, accessed, and managed on storage devices.

  • Linux uses a hierarchical file system structure with directories and files.

  • Common file systems in Linux include ext4, XFS, and Btrfs.

  • File permissions in Linux determine who can read, write, or execute files.

  • Mounting and unmounting drives allows access to different file systems on Linux.

Add your answer
right arrow

Q8. Array - Pair Sum - Return pair of the sum from arrays

Ans.

Find pairs in array that sum up to a given target value.

  • Iterate through the array and store each element in a hash set.

  • For each element, check if the target value minus the current element exists in the hash set.

  • Return the pair of elements that sum up to the target value.

Add your answer
right arrow

Q9. Check if two strings are anagram of each other

Ans.

Check if two strings are anagram of each other

  • Create character count arrays for both strings

  • Compare the character count arrays to check if they are equal

  • Example: 'listen' and 'silent' are anagrams

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Freecharge for Freshers

based on 7 interviews
Interview experience
3.6
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

Jindal Steel and Power Logo
3.9
 • 215 Interview Questions
IDFC FIRST Bank Logo
3.9
 • 173 Interview Questions
Standard Chartered Logo
3.7
 • 169 Interview Questions
Bajaj Auto Logo
3.9
 • 152 Interview Questions
Ola Electric Mobility  Logo
3.3
 • 138 Interview Questions
View all
Recently Viewed
SALARIES
Revolut
SALARIES
Freecharge
REVIEWS
Revolut
No Reviews
SALARIES
Freecharge
INTERVIEWS
Freecharge
No Interviews
SALARIES
Google Pay
SALARIES
Dhani Healthcare
INTERVIEWS
Google Pay
No Interviews
SALARIES
Airtel Payments Bank
SALARIES
EarlySalary Services
Top Freecharge Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter