Union of n arrays with x elements. Output common members contained in at least 2 arrays. Explain the complexity of the algorithm used. We have a digested server log with username, visited page and timestamp. Create a processing algorithm that will output the most visited page/areas in such a way that will match partial path as well. i.e. { { user: "user1", page="/home" }, { user: "user1", page="/home/account" }, { user: "user1", page="/home/account/profile" }, { user: "user1", page="/home/account/login" }, { user: "user2", page="/about" }, { user: "user2", page="/about/contact" }, { user: "user2", page="/home" } } the output user1 - home/account - home user2 - /about PS I'm rephrasing because I cannot recall exactly the question
Software Interview Questions
550,950 software interview questions shared by candidates
He asked me to write a function to detect whether string1 contains all letters in string2
How much would you be willing to pay to join the following game? Start with 0 dollars on the table. You flip a fair-sided coin. If the coin is heads, I add another dollar, and you flip again. If the coin is tails, you walk away with the cash on the table.
How do you swap two numbers without declaring temporary variable?
In a sequence of alphabets (like aaabbddaabbcc) write a program to find the number of the consecutive alphabets in and print the alphabet and number. example :if input is aaabbddaabbcc then output should be 3a, 2b, 2d, 2a, 2b, 2c
Cut a cake into 8 equal pieces
Given a set of strings. Check if a new string is equal to any of them. Here equal means the letters are the same, like abbc=bacb
According to you what is a good code?
Write a function, that, given a paragraph as input, outputs the paragraph with all the words reversed.
Tell me about your favorite or the most challenging project you worked on
Viewing 1191 - 1200 interview questions