I only completed an online assessment, which had a mix of DSA and core subjects.
After the online assessment, selected candidates were called to the main office for the next interview process.
The coding problem I received was on Dynamic Programming (DP), while all my friends had BFS or DFS questions.
Problem Statement:
You are tasked with determining the minimum number of umbrellas required to shelter a given number of people exactly, using umbrellas of various sizes. If it is not possible to meet the exact requirement using any combination of the available umbrella sizes, return -1.
Inputs:
requirement (integer): The total number of people needing shelter.sizes (list of integers): A list of umbrella sizes, where each size represents the number of people an umbrella can shelter.Output:
Return the minimum number of umbrellas needed to shelter exactly the given number of people (requirement).
If it is not possible to achieve the exact requirement, return -1.
Example 1:
Input:
requirement = 5
sizes = [3, 5]
Explanation: A single umbrella of size 5 can exactly shelter 5 people.
Output: 1
The following metrics were computed from 2 interview experiences for the Fivetran SDE-intern role in India.
Fivetran's interview process for their SDE-intern roles in India is fairly selective, failing a large portion of engineers who go through it.
Candidates reported having very good feelings for Fivetran's SDE-intern interview process in India.