Sell me pen.
Development Interview Questions
137,190 development interview questions shared by candidates
1 million card applications. $1 per application cost to do employment verification. 96% pass verification and get a card. 4% fail and do not get cards. Given average profits on cardholders in good standing, and average losses on accounts that default, find the % of denied cardholders that would have to default in order to justify the $1 per application verification cost .
Given a binary tree with the usual left and right pointers on each node, and additionally a parent pointer, make an algorithm to discover the closest ancestor to 2 nodes on the tree.
Why Siemens? Tell me about yourself
How would you increase ice cream sales in India
"Solve a maze", you have a 2D matrix with 1's as blocked and 0's as path. Find a path from one corner to another, backtracking should be allowed.
I was asked two questions. Q 1. You are given two version numbers of a software, like Version 10.3.4 and Version 10.3.41. Write a program to find out which of the version numbers are the latest. If version 1 is latest output -1, if version number 2 is latest output +1 else output 0 if same version. Both the version numbers are taken as string. He also asks to make the program of minimum time complexity as we can. At the end he also asked the difference between an iterative program and one with recurrence and their advantages and disadvantages. Q 2. Given two files with a list of application IDs (or some kind of data) stored in them , write a program to compare the data in the two files and output all the common data found in each. What data structure would you use and why ? Give a minimum time and space complexity algorithm. Why did you choose the particular data Structure or algorithm ?
Coding Challenge 1) Find the longest palindromic substring from the given string. No need of DP solution.
To return the 'm' smallest numbers from a file of 'n' numbers
Vertically and horizontally center an element on the screen using css.
Viewing 71 - 80 interview questions