• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
us4ever
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2016年4月4日

N-Queens N皇后问题 (LeetCode 51)
摘要: 题目:The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. (LeetCode 51) Given an integ 阅读全文
posted @ 2016-04-04 18:00 us4ever 阅读(268) 评论(0) 推荐(0)
 
Factorial Trailing Zeroes 阶乘尾零 (Leetcode 172)
摘要: 题目:Given an integer n, return the number of trailing zeroes in n!.(Leetcode 172) Note: Your solution should be in logarithmic time complexity. C++参考框架 阅读全文
posted @ 2016-04-04 17:43 us4ever 阅读(150) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3