Pergunta de entrevista da empresa Clearwater Analytics (CWAN)

|| Reverse a number without string manipulation. || Given an array and a key find if two elements in the array add up to the key. || Write a function that takes two weeks, hours worked and an hourly rate and computes total compensation for that period. Note that any time worked over 40 hours in a single week is overtime paid at 150% of the hourly rate. || Given an unsorted list of positive integers write a function that will return the smallest positive integer not in the list. For example calling the function with a list containing [5,3,4,1] will return 2. || Conceptualize a software system that can represent a school bus and that school bus has a bus driver and some children. Each person on the bus has a name. Each child is carrying something for lunch, either a lunch box, sack lunch, or some lunch money. If it is a sack or box lunch it can contain some items. Now write the classes and relationships that would represent this system.