Knapsack problem with a twist that you can take any number of sacks of a given weight.
Senior Interview Questions
340,906 senior interview questions shared by candidates
Create a cache with fast look up that only stores the N most recently accessed items.
Given an array of numbers e.g. [1,3,7,7,8,8,9], create a function that returns the indeces of a target number. For example, target is 8, return [4,5] for the array mentioned before.
If we write return statement in try, catch and finally block, which one will execute when and why ?
Technical: 1. https://www.facebook.com/hackercup/problem/403525256396727/ 2. http://www.geeksforgeeks.org/count-ways-reach-nth-stair/ 3. In english alphabet "a-z and A-Z" letters. As we know all numbers can be represented by a fibonacci number. 1 2 3 5 8 13 21 34 55 89 Suppose 6 = 5 + 1, can be encoded as 1001 16 = 13 + 3 = 100100 4 = 3 + 1 = 101 Similarly, all the letters "a-z and A-Z" should be converted to ASCII number then convert them to Fibonacci encoded number Then read decode them back to origonal character. H E L L O ASCII values of all the letters from (HELLO) Then covert them to corresponding binary values e.g H = 72 = 55 + 13 + 3 + 1 = 100100101 And add "1" (number 1) to end of all charcter to find out the number ends there. So H = 100100101 + 1 = 1001001011 (Not mathematical add, string add or append) 4. What you like to do in leisure time? 5. What you have done something interesting beyond your scope? 6. How do you manage a day in your place when you are heavily loaded? 7. Why are you looking for a change? ....
Case 1: Given APR, Interchange fee, Avg monthly balance, Avg spend every month, and loss rate of 3% calculate the profit per customer. Now justify if it is profitable to give cash back to the customers.. Case 2: 2 ways of campaigning for credit cards 1. Email - 10% of applicants become customers - each representative can verify 10 email applications in an hr and is paid $25/hr 2. Chat - 20% of applicants become customers - each representative can respond to 4 applications in an hr and is paid $25/hr Profit per customer in both the cases in $100. which one is profitable email or chat. Draw the graph of profit vs no of applicants Consider a scenario where there are only 5 representatives to handle applications. In this case which one is more profitable email or chat. calculate the breakeven point for the no of representatives where chat will be profitable than email.
Find Kth minimum node in a binary tree and suggest a complexity
What does "Dit is 'n boodskap vir u" mean?
How would I hire 1000 engineers without an interview?
Give a 2D rectangular array represented as a 1D arrary in row-major form, rotate the array by 90 degrees
Viewing 191 - 200 interview questions