We express the initial line of n people as an array, tickets = [ticket(0),ticket(1),...,ticket(n-1)] where each tickers, denotes the number of tickets that person i wishes to buy. If Jesse is located at postion p. How many seconds will it take for him to purchase the tickets. For example if tickets = [1,2,5] and p=1 the first five Following rules should apply: 1.The person at the head of the line can by exactly one ticket and must exit the line 2.If a person needs to purchase additional tickets, they must re-enter the end of the line in wait to be sold the next ticket (assume exit and re-entry takes 0 seconds) 3.Each ticket sale dates exactly one second. Find the time taken
Senior Softwareentwickler Interview Questions
74,127 senior softwareentwickler interview questions shared by candidates
All the question was from oops,and how you implement opps in your project.The most difficult question was diffence between static class and single pattern,they drill down it.
what is your experience
How do you write "a program for odd number" in single line without using an operator ?
1. Write a query to find the 5th largest item in a table.
Write a function to filter alphanumeric characters from string. How would you test it? Why you didn't use regular expression?
Longest Valid parantheses -Hard qustion from leet code.
how do you handle conflict
English test which is computerized
Design a shopping cart. Defend your decisions. Additionally, string compression algorithm, design a system to scale to 10,000 users, word reverse with preserved white space.
Viewing 641 - 650 interview questions