Summary
I completed a code assessment for Fanatics where I was tasked with creating an ASCII chart display program based on a given set of data points.
Full Experience
I was given a code assessment for Fanatics. The task involved writing a program that could display an ASCII chart from a given dataset of (x, y) coordinates. The chart needed to show the surrounding components and mark each data point with an asterisk. I also had to consider the max_x and max_y values, either provided or calculated, to properly scale the chart. The example provided illustrated an online auction graph with time on the x-axis and price on the y-axis.
Interview Questions (1)
Write a program in the requested language that will display an ASCII chart given the following data:
data = {(1,2), (2, 3), (3, 1), (4, 6), (5, 8)}
You should be able to print the surrounding components of the chart and then place an * where each data point is specified in the data set. You do not need to print the X and Y legends, but that would be helpful. You are given the max x and max y but if you can calculate that it would be helpful.
Example Output Structure:
+-----+-----+-----+-----+-----+-----
+ * +
+ +
+ * +
$ + +
+ +
+ * +
+ * +
+ * +
+-----+-----+-----+-----+-----+-----+
time
Given Parameters:
max_x = 5max_y = 8data = {{1,2}, {2, 3}, {3, 1}, {4, 6}, {5, 8}}
Summary
I interviewed for a Full Stack SDE 3 role at Fanatics in Hyderabad. The process covered system design based on my resume, specific React questions, and analytical problem-solving.
Full Experience
I recently had an interview experience for a Full Stack SDE 3 position at Fanatics in Hyderabad. The interview rounds focused on several key areas.
First, there was a system design discussion where I had to elaborate on the frontend and backend architecture of a system I had worked on, drawing directly from my resume.
Following that, I faced specific React-related questions, delving into topics like React Hooks and the useContext API. Another interesting question was about how to render various DOM objects, such as dropdowns and text inputs, without resorting to conditional rendering logic.
We then moved on to a discussion about my past projects, specifically how they differentiated themselves from existing solutions in the market.
Finally, there were analytical questions. One involved calculating the difference in clock hands at a given time, and another was about writing code to check if a mirrored palindrome string would appear visually the same.
During the feedback, it was subtly hinted that more side projects on React would have been beneficial, as I had mentioned fewer on my resume.
Interview Questions (6)
Design the frontend and backend architecture of a system I previously worked on, as detailed in my resume. Be prepared to discuss architectural choices, technologies used, and scaling considerations.
Explain the concept of React Hooks and the useContext API. Provide scenarios where they are most effectively used and discuss their benefits over traditional class components or prop drilling.
How would you approach rendering different DOM objects, such as a dropdown or a text input, without directly using explicit conditional rendering statements (e.g., if/else, ternary operators) in your JSX?
Discuss how my previous projects are different or innovative compared to existing solutions or products already available in the market. Highlight unique features, technical challenges overcome, or business value created.
Given a time (hour and minute), write code or describe an algorithm to calculate the smaller angle between the hour hand and the minute hand on an analog clock.
Write code to determine if a given string is a 'visually mirrored palindrome'. This means the string reads the same forwards and backwards, taking into account character mirroring (e.g., 'b' mirrors 'd', 'p' mirrors 'q', 'A' mirrors 'A', etc.). Consider which characters are self-mirroring and which form mirror pairs.