Problem Statement : 18 Ralway Stations from Tamil Nadu are given. A passenger need ticket. Upto the 5 stations journey, fare is 10 Rs. After the 5 stations, for every 5 stations, 5 Rs extra will be charged. For the full stretch journey i.e. From 1st to the last station, fare is 20 Rs. Input 1 : StationFrom - Guindy, StationTo - Kadambakkam Output 1 : Print ticket. i.e. StationFrom : Guindy, StationTo : Kadambakkam, Total Stops : 3, Total Fare : 10 Input 2 : StationFrom - Guindy , StationTo - Chennai Fort Output 2 : Print ticket. i.e. StationFrom : Guindy, StationTo : Chennai Fort, Total Stops : 8, Total Fare :15 Code should follow design principles, patterns. Test Driven Development would be preferable, not mandatory though.
Engineer Interview Questions
934,946 engineer interview questions shared by candidates
Excel Sheet Problem: Given a String in method return the column number. Or in other words, convert Excel column number in integer. Input: "A" Output: 1 Input: "AA" Output: 27 Explaination: Column A is very first column in Excel, so return 1.
Given an ordered large array of integers, find all pairs of numbers that add up to a particular given sum.
count the 1s in an integer
The two technical interviews towards the end were trying to find out if I had a particular skill set. I'm not sure what that is... The other interview with manager was broad and felt very comfortable.
There is a clock which shows false timing ie it shows 10 minutes less for each 1 hour....if the clock shows 12 noon now how many minutes will be lost when it shows 3 pm ?
2 medium questions and 1 hard
From SQL: 1. If there are 2 tables with m and n rows respectively, then what will be the minimum and maximum number of rows in all the joins. 2. Get the 3rd highest employee salary from employee salary table. 3. Given a product table, the new record gets appended in table with the new timestamp for the product ID. Find out the latest row for that particular product with or without analytical functions. 4. Given there are 2 tables of employee details and employee project details, which all employee are not yet assigned a project. For python: 1. Given a product data frame, the new record gets appended in table with the new timestamp for the product ID. Find out the latest data frame for that particular product with pandas.
SQL question: 1 table with player_id, log in date, and 2 other fields and was asked to calculate first day retention rate. First day retention rate is defined as the player who log in the 2nd straight day, after the first ever time they log into game.
Write an algorithm to return the intersect of two arrays.
Viewing 1671 - 1680 interview questions