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.
Programador De Python Interview Questions
712,024 programador de python interview questions shared by candidates
How to find that a given number is even or odd without using (if, else, any loop, conditional operator ,switch). You can use only a "%" sign.
Given an int array, find the sequence of elements that has the largest sum
Create an app fetching car details from a server and showing them in a list. Then localize hem in a google map. Also showing all the cars in the map as pins
You have a pile of coins. One of them is counterfeit, and its weight is different from the other coins. All of the other coins weigh the same. You are given a balance. How would you find the counterfeit coin? Now code it up.
In technical round I was asked one puzzle. 3 tyres will be given whose lifetime is 5km each. For how many kilo-meters you can ride a bike ?
inorder traverse of a tree without.recursive
write a logic to print * pattern square matrix with diagonal elements if n=5 print * * * * * * * * * * * * * * * * * * * * * i wrote the code with 5 loops but they asked me to write in 2 loops....!
reverse the words of a string
write scpy function
Viewing 1421 - 1430 interview questions