How do you draw a diagonal line on a page without using SVG/VML ?
Engineer Interview Questions
1,136,609 engineer interview questions shared by candidates
Delegates, Protocol, blocks, multithreading, GCD, project specific, some behavioural questions etc
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
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?
According to you what is a good code?
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
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
He asked me to write a function to detect whether string1 contains all letters in string2
Tell me about your favorite or the most challenging project you worked on
Viewing 1691 - 1700 interview questions