# Logic Interview Questions

interview questions shared by candidates

## Logic Interview Questions

Given a function rand_3() which generates 3 equiprobable random outputs, and the requirement to re-use it, how would you implement the function rand_5()? |

In a pitch black room you have a drawer with 27 black socks, 18 gray socks, and 9 navy socks. The socks are all individual. What is the minimum number of socks you have to pull out of the drawer to guarantee you have a pair of socks that is not navy? |

Logic question described in above paragraph |

Mayan number system test |

Case interview questions regarding profit / ROI questions, projected market trends, etc. |

If you were asked to find all the mail servers on the internet, how would you go about doing it? State any assumptions you make. How do you check if your result is correct? |

Design a functional specification for a video rental store. |

How would you go about pricing a product? |

How many trash cans would you say are in in Times Square? Take me through your thought process... |

Describe a challenging work situation that you had to deal with. What were the primary concerns? How did you respond? What was the outcome? |

**61**–

**70**of

**87**Interview Questions