Panda Guru LogoPanda
Guru

Zalando | Senior Software Engineer(FE) | 8 YOE | SELECTED

Online Coding Test

Questions: React-Node-based application to design a search box with auto-suggestion list on every keystroke.

// Example implementation of a debouncing function in JavaScript function debounce(func, wait) { let timeout; return function(...args) { clearTimeout(timeout); timeout = setTimeout(() => func.apply(this, args), wait); }; } // Usage of debounce in a React component import React, { useState, useEffect } from 'react'; const SearchBox = () => { const [query, setQuery] = useState(''); const [suggestions, setSuggestions] = useState([]); useEffect(() => { const fetchSuggestions = debounce(async (query) => { // Fetch suggestions from API const response = await fetch(`api/suggestions?query=${query}`); const result = await response.json(); setSuggestions(result); }, 300); if (query) { fetchSuggestions(query); } }, [query]); return ( <div> <input type="text" value={query} onChange={(e) => setQuery(e.target.value)} placeholder="Search..." /> <ul> {suggestions.map((suggestion, index) => ( <li key={index}>{suggestion}</li> ))} </ul> </div> ); }; export default SearchBox;
Candidate's Approach

I implemented the search box with React and Node, ensuring to include the required test cases. I focused on implementing basic features, writing comprehensive unit tests, and using meaningful variable names. I also applied debouncing to optimize performance during keystrokes.

Interviewer's Feedback

No feedback provided.


Solution Discussion | Round 1

Questions:

Candidate's Approach

The interview was easygoing, focusing on my ability to explain the code I submitted. I discussed the importance of imports and potential optimizations for the application.

Interviewer's Feedback

No feedback provided.


JavaScript Technical Interview

Questions: Specific question not provided.

Follow-up Questions:

Candidate's Approach

The interview covered a wide range of JavaScript topics, allowing me to demonstrate my expertise in both fundamental and advanced concepts.

Interviewer's Feedback

No feedback provided.


System Design

Questions: Specific question not provided.

Follow-up Questions:

image

Candidate's Approach

I engaged in a discussion about system architecture, focusing on load balancing and database performance optimization strategies.

Interviewer's Feedback

No feedback provided.


Discussion with Engineering Manager

Questions:

Candidate's Approach

This round was focused on understanding my personality and teamwork capabilities, allowing me to express my thoughts on conflict resolution and team leadership.

Interviewer's Feedback

No feedback provided.