Pergunta de entrevista da empresa Viasat

Given a range from 0 to N, write a function that returns all prime numbers. Give a recursive method that calculates a fibonacci sequence, rewrite it to remove the recursion and reduce its time complexity. Use nested SQL select statements to determine a value in table A from information in table B. Given list A with a number of values, return the list with its values reversed. Describe a hash table in as much detail as possible. Describe time complexity from best to worst. Describe different types of sorting methods. What are the principles of object-oriented programming? Tell me the difference between include and require in PHP. What is the difference between overloading and overriding in Java? How do you troubleshoot a network connection from your workstation to a server inside the company? How do you troubleshoot a network connection from your workstation to a client in another time zone? Describe the OSI layers and give an example of each. Write a test script in Python.