Pergunta de entrevista da empresa Humana

Coding questions: 1) Merge two sorted linked lists and return it as a sorted list. 2) Given an integer array nums of 2m integers,group these integers into n pairs (p 1 , q 1 ), (p 2 , q 2 ), ..., (p m , q m) such that the sum of min(p i , q i ) for all i is maximized. Return the maximized sum. SQL questions: Table 1 (column_names) Member Name Vehicle Miles Year 3) What is the average number of miles driven by Members after 2015? 4) What is the percent of miles driven on each vehicle by each member? Table 2 (column_names) Make Mileage (mpg) 5) Using the second table, what is the expected fuel consumption by each member?