Round 1 (Data Structure & OOP)
Question 1: Given 3 types of products (Hotels, Flights and Activities) with attributes price, rating and location. Repesent the types to be easily used in a filter.
Question 2: How would you design a itinerary for Activities that tell the user the total distance traveled?
Question 3: Create a method that returns a list of activities under a certin price.
Round 2 (Coding & Problem Solving):
Question 1 : Given an array of strings return an array containg all integers in every string
[hyi89ljk, 21df77, 9j8u] ->[89, 21, 77, 9, 8]
Question 2 : Given an array of integers nums and an integer target return the number of pairs that add up to the target.
Similar to leetcode problem 1- two sum