Microsoft Interview Question
f(9) = 9^8 - 9^7 + 9^4 + 9^3 - 9^2 + 9^1
f(8) is negative of ( 8^9 -8^6 + 8^3 + 8^2 - 8^1 - 8^0 - 8^0)
f(7) = 7^6 - 7^5 + 7^2 + 7
f(6) = -6^5 + 6^4 - 6^1 + 6^0
f(4) = -4^3 + 4^2 + 4^0
f(3) = 3^2 - 3^0
could not identify the full pattern yet.. but this is how the series goes.. need to consider negative numbers as input to functions if the sum is negative..
What in the hell does this question test. LUCK?
- 2 hoots September 11, 2009Nonsense....
Microsoft...