[On going] Freshworks interview SDE-2
- Posted
- 20 May 2025
Summary
I interviewed at Freshworks for an SDE-2 position, which involved a DSA round with two coding problems and a System Design round focusing on API design and database schemas for a government site. I believe I performed well in most discussions and am currently waiting for the outcome.
How it went
Round 1 DSA
- 3 Sum like problem, without using maps.
- diameter of a tree
Round 2 Design
Quick intro and questions from the resume.
API's for Government site where admins can create forms and citizens can fill and submit forms.
- API for form creation.
- API and ways to dynamically process the forms.
- API to filter fields and give response to the admins
- DB schemas i.e., tables and columns to store above data.
I answered majority of the points discussed. Wish me luck for the outcome.
Waiting on response.
Questions asked (6)
- 01
3 Sum Variant without Maps
Data Structures & Algorithms
A problem similar to 3 Sum, but requiring a solution without the use of hash maps or dictionaries.
- 02
Diameter of a Tree
Data Structures & Algorithms
Find the longest path between any two nodes in a tree.
- 03
API for Form Creation
System Design
Design an API endpoint that allows administrators to create forms for a government site.
- 04
Dynamic Form Processing API
System Design
Design an API and describe methods to dynamically process forms on a government site.
- 05
API to Filter Form Fields
System Design
Design an API to filter fields from submitted forms and present the response to administrators.
- 06
Database Schema for Forms
System Design
Design database schemas (tables and columns) to store data related to forms, form creation, submission, and dynamic processing for a government site.