Typeface AI Interview Experience | Frontend | 1 YOE | Bangalore → Hyderabad

typeface ai logo
typeface ai
· Frontend· Hyderabad· 1y exp
April 11, 2026 · 0 reads

Summary

I interviewed for a Frontend position at Typeface AI; I completed two machine‑coding rounds focusing on a chatbot UI and image‑scaling logic, but withdrew before further rounds because I did not want to relocate.

Full Experience

At the time of interviewing with Typeface AI, I had around 1 year of experience and was working in Bangalore. The role was based out of Hyderabad.

I applied through a referral and heard back within a week.

Compensation: 23L + 2L (bonus)

Round 1: Machine Coding (Frontend)

The first round focused on building a chatbot‑style UI. The main requirement was to implement a chat interface where messages appear properly and the view auto‑scrolls to the bottom as new messages come in. There was also emphasis on keyboard interaction and overall UX behavior.

It was a fairly practical round, less about algorithms and more about how cleanly you handle UI logic and edge cases.

Round 2: Machine Coding (Problem Solving + Implementation)

The second round was again a machine coding round but more focused on logic.

The problem discussed was around calculating how an image should fit inside a container while maintaining aspect ratio. The goal was to dynamically compute width and height based on container dimensions.

I implemented the solution and later shared it with the interviewer:

function getImageBoundary(containerBoundary, imageBoundary) {
    const aspectRatioOfImage = imageBoundary.width / imageBoundary.height;
    const aspectRatioOfContainer =
        containerBoundary.width / containerBoundary.height;
let width, height;

if (aspectRatioOfImage > aspectRatioOfContainer) {
    width = containerBoundary.width;
    height = containerBoundary.width / aspectRatioOfImage;
} else {
    height = containerBoundary.height;
    width = containerBoundary.height * aspectRatioOfImage;
}

return {
    width,
    height,
};

}

This round tested clarity of thinking and ability to translate logic into clean code.

Outcome

I did not proceed with further rounds. The role required relocation to Hyderabad, and during the process I decided not to move out of Bangalore, so I chose to stop here.

Interview Questions (2)

1.

Chatbot UI Implementation

Other

Implement a chatbot‑style user interface where messages are displayed correctly and the view automatically scrolls to the bottom as new messages arrive. The solution should also handle keyboard interactions (e.g., sending a message with Enter) and provide a smooth, user‑friendly UX.

2.

Calculate Image Boundary to Fit Container

Data Structures & Algorithms

Given the dimensions of a container and an image, compute the width and height the image should be resized to so that it fits entirely within the container while preserving its original aspect ratio.

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!