1.SQL: **d_customers** +-------------+-----------------------+---------------------+ | customer_id | membership_start_date | membership_end_date | +-------------+-----------------------+---------------------+ | 114 | 2015-01-01 | 2015-02-15 | | 116 | 2015-02-01 | 2015-03-15 | | 120 | 2015-02-15 | 2015-04-01 | | 221 | 2015-03-15 | 2015-10-01 | | 120 | 2015-05-15 | 2015-07-01 | +-------------+-----------------------+---------------------+ **d_shipments** +-------------+------------+-----------------------+----------+ | shipment_id | ship_date | receiving_customer_id | quantity | +-------------+------------+-----------------------+----------+ | 1 | 2015-02-13 | 114 | 2 | | 2 | 2015-03-01 | 116 | 4 | | 2 | 2015-03-01 | 116 | 1 | | 3 | 2015-06-01 | 116 | 1 | | 4 | 2015-03-01 | 120 | 6 | | 5 | 2015-10-01 | 120 | 3 | | 6 | 2015-03-01 | 321 | 10 | +-------------+------------+-----------------------+----------+ Populate **a_shipments** +-----------+-----------+----------+----------+----------+ | ship_date | customer_id | is_member | quantity | +-----------+-----------+----------+----------+----------+ the column [is_member]: if [ship_date] is between [membership_start_date] and [membership_end_date] then 'y', else 'N' sample of otput: 2015-03-01 | 116 | Y | 5 | 2015-06-01 | 116 | N | 1 | 2. Coding task. Check whether a string is palindrome. I have been asked to code a solution by iterative and recursive approach. 3. Big Data questions: 3.1. What format of files in Hadoop do I know? What is a difference between Avro and Parquet format? 3.2. How compression is used in Avro and Parquet formats? 3.3. Most difficult big data performance challenges you have faced and resolved? 3.4. Spark optimization. Spark cost based optimizer
Engineer Ii Interview Questions
9,744 engineer ii interview questions shared by candidates
How do you design a system which sells online ticket of a basketball match that has 1000 ticket to sell and millions of people want to buy that tickets the same time?
How would you design a warehouse?
In online coding, I solved one question using dictionary (Leetcode easy) and other one was related to dynamic programming (Leetcode medium). In telephonic interview, I solved Leetcode easy problem and in the follow up I used dynamic programming to solve it efficiently. Interview day: - My interview day started with a project manager and cpnding task was to convert Java code to python code. I requested him couple of times that I am not friendly with Java and I also conveyed a recruiter that I will use Python during my coding interviews (this must be negative feedback). I have never seen such kind of questions during my Leetcode or Geeks for geeks practice. - In the second slot of interview day, an interviewer asked me lot of time and space complexity questions i.e. factorial, fibonacci, binary search etc. I had only 10 minutes to solve coding problem (Leetcode medium: count distinct sub trees with sum K). - During the system design interview, I had to design restaurant management system. This went well. - In the last, I solved (Leetcode medium: jump problem) and in the follow up question I had to trace jump indexes. This went well too. From my point of view, FAANG interviews always focus on data structures and algorithms skills not like convert one language code to other language. At the end, I got disappointment. Note: Amazon also focuses more on Leadership principles.
Tell me about an example in which you took the ownership of a project
coding top k frequent elements
Design the Amazon search page
Design Airport kiosk for these features check in , seat selection, boarding pass print
Sort hashmap without using for loop
1) parenthesis questions see if it is a valid string 2) lots of leadership principle questions. know all 14 and reference some of them
Viewing 9231 - 9240 interview questions