http://digitalpbk.com/interview-questions/create-24-using-addition-subtraction-multiplication-and-division-3-3-8-8
Create 24 using Addition Subtraction
Multiplication and Division from 3 3 8 8
None
8 / (3 - 8 / 3) = 24
Interview Questions ...
Published 2 years, 3 months ago
http://digitalpbk.com/interview-questions/mmxi-google-logo-mmxl
MMXI in Google Logo
None
I = 1
V = 5
X = 10
L = 50
C = 100
D = 500
M = 1000
It's not L... That letter is I
M + M + X + I = 1000 + 1000 + 10 + 1
MMXI = 2011
Interview Questions ...
Published 1 year, 4 months ago
http://digitalpbk.com/interview-questions/divide-triange-5-triangle-equal-area
Divide A Triange into a 5 triangle of equal Area.
None
The answer is pretty simple and straight forward.
Area of a triangle is 1/2 x (base) x (height).
So divide the base into 5 segments and join the segment end points to the vertex opposite to the base.
Area of the triangles now is 1/2 x (base/5) x (height) = Area of the original triangle / 5.
Interview Questions ...
Published 2 years, 5 months ago
http://digitalpbk.com/interview-questions/select-second-largest-value-column-using-sql
Select second largest value in a column using SQL
None
The answer is pretty simple without jumping over hoops or thinking about taking MAX etc.
SELECT value FROM table ORDER BY value DESC LIMIT 1,1
Why LIMIT 1,1 ? Shouldnt it be 2,1
Think again. LIMIT 0,1 is the first record.
Interview Questions ...
Published 2 years ago
http://digitalpbk.com/interview-questions/sum-digits-19991999
Sum of digits of 1999^1999 Recursively reduced to 1 digit
None
Answer: 1
1999^1999 = A pretty big number, so calculating this and doing is not the way.
1999 = 1998 + 1
Now all numbers with (9k+1)^n = 9M+1
Therefore 1999^1999 = 9M+1
Sum of all digits of 9M recursively would be 9
9+1 = 10
on further reduction Sum = 1
Courtesy: Meenakshi :)
Interview Questions ...
Published 10 months, 4 weeks ago
http://digitalpbk.com/interview-questions/jar-oranges-apple-and-mix-oranges-and-apple
combination 2.
:)
Interview Questions ...
Published 2 years, 5 months ago
http://digitalpbk.com/interview-questions/reminder-after-dividing-1-factorial-2-3-100-7
Reminder after dividing factorial 1! + 2! + 3! + ? + 100! By 7?
None
(a + b + c + d + .... x ) / 7 = a/7 + b/7 + c/7 + .... x / 7
Therefore 1!+2!+..100! / 7 = 1!/7 + .. 7!/7 + ..100! / 7
Reminder of (a+b)/7 = Reminder(Reminder (a/7) + Reminder (b/7)) / 7
Since Reminder of all numbers from 7! to 100! are 0 ,
Reminder of 1!+..100! is 1!+2!+3!+..6! = 1 + 2 + 6 + 24 + 120 + 720 = 873
Reminder of 873 divided by 7 is 5
Hence Answer : 5
Interview Questions ...
Published 2 years, 3 months ago
http://digitalpbk.com/interview-questions/stairs-one-step-two-step-total-combination
sequence is the total Number of combination, if the sequence starts from 0 as shown below.
F(0) = 0
F(1) = 1
F(2) = 1
F(3) = 2
etc...
Interview Questions ...
Published 2 years, 3 months ago
http://digitalpbk.com/interview-questions/candle-measure-time-30-minutes-15-min-20-long
lit candle. Now light the second end of that candle and it would burn for 5 minutes.
Hence we can measure a total time of 15 minutes.
Interview Questions ...
Published 2 years, 3 months ago
http://digitalpbk.com/interview-questions/find-number-zeros-factorial-number-n-factorial
can be found out by plainly dividing the number by 5 which gives you 6, But there is an extra 5 in the 25 since 25 = 5*5, which can be got again by dividing the number 5. So continuing so on, we get the above formulae..
Interview Questions ...
Published 1 year, 9 months ago