• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
neverlandly
博客园    首页    新随笔    联系   管理    订阅  订阅
2016年2月16日
M面经Prepare: Find integer Average of 2 integers.
摘要: The definition of integer average is the highest smaller integer if average is floating point number. Also the condition if that they can not use any 阅读全文
posted @ 2016-02-16 11:56 neverlandly 阅读(402) 评论(0) 推荐(0)
M面经Prepare: Positive-Negative partitioning preserving order
摘要: Given an array which has n integers,it has both positive and negative integers.Now you need sort this array in a special way.After that,the negative i 阅读全文
posted @ 2016-02-16 07:40 neverlandly 阅读(387) 评论(0) 推荐(0)
M面经Prepare: Delete Words Starting With One Character
摘要: 给定一个char array, 这个array是一个句子,然后给定一个字母,把这个array里面带有这个字母开头的单次删掉,操作是要求in place. 检测 array[i]==' ' && i<array.length-1 && array[i+1]==target,这种情况,设置j从i+1开始 阅读全文
posted @ 2016-02-16 04:15 neverlandly 阅读(326) 评论(0) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3