You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at this place are arranged in a circle. That means the first house is the neighbor of the last one. Meanwhile, adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken into on the same night. Given a list of non-negative integers representing the amount of money of each house, determine the maximum amount of money you can rob tonight without alerting the police. Example 1: Input: [2,3,2] Output: 3 (To be solved in any programming language/pseudo-code)
Internship Software Engineer Interview Questions
23,679 internship software engineer interview questions shared by candidates
Convert a string of roman numerals into an integer (ie MCMLXII -> 1962)
What kind of data structure is used in forward/back feature of google chrome? How can you implement it?
Find the Subarray with sum k
What is Polymorphism in OOP?
-Coding assessment and a good Behavioral
1. Given an array of stock prices. Calculate the max profit you can make if you can buy and sell the stock once? 2. Sql basic questions. 3. Given a table of product categories, products under them and the amount sold. In sql, display second highest sold item in each product category
Tell us about one project you worked on.
1) a take-home coding problem 2) in-person 45-min DS/algorithms question
no direct question was there. They just asked about your interests in programming. What complex problems you have solved in programming.
Viewing 2631 - 2640 interview questions