Microsoft Interview Question – Get the Area of the Triangle 微软面试题:三角形的面积是多少?

 The following seems an easy question, to get the area of the rectangluar triangle with the slope equals to 10 and the height equals to 6. 

 据说是一个印度人杀入微软最后的面试, 面试官给了这么一道小学数学几何题: 

 If your answer is 30 (10×6/2), then you are falling into the trap: Such triangle doesn’t exist at all!

 这哥门也有疑问 可是最后还是坚持 答案 30 (底 X 高 / 2)

不存在 It Doest Not Exist

这是个陷井: 这个直角三角形是不存在的.   If we label the triangle with the following, 

 两个小直角三角形的勾股定理:   What we can get are: 


 两者相加:   If we add these two equations: 

 简化一下:    After simplification, we have: 

 最后我们得到:  Thus 

   因为  

 如果   并且    把函数     画出来是这样的 

If     and      the function of     is plotted below.

 最大值是 25 也就是说 c 的最大值是 5 所以这样的三角形是不存在的(斜高是6)

The maximum value for function y is 25, which means that the maximum value of c is 5. 

Such triangle does not exist (the height is 6, which exceeds the maximum length)! 

这个问题的意义在于,在实际工作中,尤其是面对开放性,创造性的工作时,不能仅仅作为一个执行者,要怎么做,我也不知道
 Typical Microsoft. If something is wrong then it is by design…and you are stuck with it. 

Thank you for reading my post, feel free to FOLLOW and Upvote @justyy which motivates me to create more quality posts. 

非常感谢阅读, 欢迎FOLLOW和Upvote @justyy 能激励我创作更多更好的内容。    

根据我的博文这里这里 整理而得.

 近期热贴 Reent Posts 

  1. Poloniex is Not A Wallet! How to Transfer SBD from Poloniex to SteemIt? Poloniex 不是个钱包 – 从Poloniex转出SBD到SteemIt的经历
  2. Team-building Events (Bowling) to celebrate the new release of software 公司组织到剑桥打保龄球 
  3. SteemIt API Tool - Check If Your Followers Have Voted Your Post 撸了一个工具 - 快速检查你的粉丝到底有没有给你点赞!(带 免费API) 
  4. A Quick Tour to British Museum - The British are not returning the china collections to China! 大英博物馆的中国展区就是最好的爱国主义教育基地
  5. The best way to travel to London? 怎么样去伦敦游玩更方便省钱?
  6. #Travel with me - Windsor Castle (Photography) 再访温莎城堡
  7. How to Convert/Transfer Steem or Steem Dollars (SBD) to Bitcoins? 小白教程 – 如何把 SBD或者STEEM转出到比特币钱包?

H2
H3
H4
3 columns
2 columns
1 column
25 Comments