Panda Guru LogoPanda
Guru

Observe.ai | Round 1 | Machine Coding round

Round 1

Questions:

/** * you are required to implement a set of APIs for a video-sharing platform. Your task is to develop the following APIs: * * Save Video Details API: * * Create an API endpoint that allows users to upload a video. This API should handle parameters such as video title, description, and the video url. * Ensure that the video url is correct, and the associated metadata is correctly maintained. * * Fetch Video Details API: * * Develop an API endpoint to fetch details of a specific video. This should include the video file, title, description, upload date, and the current view count. * Watch Video API: * -> Params: uploaderId, Title of the video * * Implement an API to simulate watching a video. * This API should increase the view count for the specified video each time it is called. * * * Requirements: * * Define the necessary request methods (GET, POST, etc.) and parameters for each API. * * Ensure that your APIs handle edge cases and errors gracefully. * @param args */
Candidate's Approach

The candidate expressed that the expectations for the coding task were unrealistic, particularly with the requirement to integrate APIs using Spring Boot and to have a modular code structure within a 60-minute timeframe, especially since 30 minutes were allocated for high-level design (HLD) questions. They communicated to the interviewer that the framework setup was not available but managed to build functional code at the function level. The candidate successfully answered all HLD questions without leaving any follow-up questions or disagreements.

Interviewer's Feedback

No feedback provided.