You have a function f(p) that returns an array of linked pages e.g f(homepage) = {page1, page2, page3}. Or f(page1) = {page4, page5}. If there is no linked pages function will return null. And we say one site is a good site if we can get to any page of that site in a less than 6 clicks. The task was to write a function that will check is it a good site or not using f(p).
Developer Interview Questions
268,884 developer interview questions shared by candidates
On the interview I had to code an example with PHP and as they were watch me develop.
If I have a jar with 1000 coins and one is double headed and I pick one coin randomly and flip 10 heads what is the probability it is the double headed coin?
Very very hard, they ask you to do a poker project for 8 hours and give no feedback after and ask you to leave
The Codility challenge had 3 problems: 1 - A SQL query, 2 - A development problem, equivalent to a medium difficulty in Leetcode and 3 - Finding a bug in a function.
1.difference between abstract class,interface
This test involved writing a zoo simulator whereby a “zoo” contains a certain number of different animals whose health decreases by a random percentage every 20 seconds. The animals can be fed, which increases their health by a random percentage, based on various other conditions. It’s a fairly involved exercise, and not exactly quick to complete.
create an exact replica of an image given by them using HTML and CSS
Basic data structure and design questions.
An array = [2,2,1,3,3,4.5] find sum of non duplicate elements in array i.e 1+4+5 using only one for loop
Viewing 281 - 290 interview questions