Given a log of users visit to a site for a day, how would you find returning users given the log visit for another day
Engineers Interview Questions
842,611 engineers interview questions shared by candidates
There was only one question. How to compress a string? If "AAABBAAA" the resultant string should be 3A2B3A.
Real time business problems and solutions
Q1) Find the number of unique days each employee worked Emp Id Task Id Start date End date 1 1 Monday Wednesday 1 2 Monday Tuesday 1 3 Friday Friday 2 1 Monday Friday 2 1 Tuesday Wednesday Hint: Calendar day table or date dimension table Calendar_day Calendar_day_of_week Calendar_year Calendar_month 1900/01/01 Wednesday (3) 1990 1 Q2) How many customers placed orders every month? Table 1: Customer Date customer_id order_id units country 2019/07/01 A 112 5 US 2019/07/02 A 211 4 US 2019/08/02 B 511 4 EU 2019/09/01 C 322 1 JP 2019/09/01 C 322 2 JP 2019/08/05 A 378 6 US 2019/09/10 A 456 7 US
Using only putchar how would you print out the ascii values for each digit in an integer. For example if the integer was 123, then you would want to print the ascii values for 1, 2, and 3.
Given an infinite stream of numbers, find the top 50 integers. What's the data structure to use, and what's the time complexity.
Write a program to find the square root of a double.
Write a function to search for a string within another string. Analyze it's complexity, and propose optimizations.
A key is broken on your laptop keyboard. How do you work around it until you can get a new keyboard?
If I need to make a cantilever beam 1mm thick and I only have 0.5mm sheet stock. How can I make a beam that has the same properties as the 1mm.
Viewing 1031 - 1040 interview questions