• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ArgenBarbie
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 29 下一页
2016年8月30日
Provisioning Profile 导入真机
摘要: 双击Provisioning Profile文件。 然后在xcode中运行。 会自动导入手机。 阅读全文
posted @ 2016-08-30 10:15 ArgenBarbie 阅读(274) 评论(0) 推荐(0)
2016年8月29日
App crash 报错 'NSUnknownKeyException'
摘要: 报错: *** Terminating app due to uncaught exception , reason: '[<NSObject 0x6e36ae0> setValue:forUndefinedKey:]: this class is not key value coding-comp 阅读全文
posted @ 2016-08-29 11:42 ArgenBarbie 阅读(144) 评论(0) 推荐(0)
2016年8月27日
App开发
摘要: 设置App图标 在Assets.xcassets的AppIcon中添加图片。 设置App名称 工程 -》 Info -》 添加Key:“Bundle Display Name“ 和 Value:App名称 设置App启动图片 在Assets.xcassets的LaunchImage中添加图片。 工程 阅读全文
posted @ 2016-08-27 16:55 ArgenBarbie 阅读(112) 评论(0) 推荐(0)
2016年8月25日
229. Majority Element II -- 找出数组中出现次数超过 ⌊ n/3 ⌋ 次的数
摘要: Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. The algorithm should run in linear time and in O(1) space. 阅读全文
posted @ 2016-08-25 17:51 ArgenBarbie 阅读(356) 评论(0) 推荐(0)
218. The Skyline Problem *HARD* -- 矩形重叠
摘要: A city's skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. Now suppose you are give 阅读全文
posted @ 2016-08-25 17:07 ArgenBarbie 阅读(133) 评论(0) 推荐(0)
221. Maximal Square -- 矩阵中1组成的最大正方形
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma 阅读全文
posted @ 2016-08-25 15:51 ArgenBarbie 阅读(228) 评论(0) 推荐(0)
输出有序数组的中两个元素差值为指定值diff的两个元素
摘要: 题目: 输出有序数组的中两个元素差值为指定值diff的两个元素。 思路: 这与输出两个元素的和的值为一定值类似,需要两个指针,不同的是:指针不是一左一右,而是一前一后。 如果差值等于diff,则返回;如果差值大于diff,则左指针右移;如果差值小于diff,则右指针右移。 阅读全文
posted @ 2016-08-25 14:50 ArgenBarbie 阅读(522) 评论(0) 推荐(0)
5. Longest Palindromic Substring -- 最长回文字串
摘要: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes 阅读全文
posted @ 2016-08-25 10:30 ArgenBarbie 阅读(150) 评论(0) 推荐(0)
79. 212. Word Search *HARD* -- 字符矩阵中查找单词
摘要: 79. Word Search Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent ce 阅读全文
posted @ 2016-08-25 09:48 ArgenBarbie 阅读(173) 评论(0) 推荐(0)
2016年8月24日
84. Largest Rectangle in Histogram *HARD* -- 求柱状图中的最大矩形面积
摘要: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist 阅读全文
posted @ 2016-08-24 18:27 ArgenBarbie 阅读(158) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 29 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3