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

2014年7月5日

CTCI 1.4
摘要: Write a method to replace all spaces in a string with'%20'. You may assume that the string has sufficient space at the end of the string to hold the a... 阅读全文
posted @ 2014-07-05 20:20 中二病程序猿 阅读(184) 评论(0) 推荐(0)
 
CTCI 1.3
摘要: Description: Given two strings, write a method to decide if one is a permutation of the other.We could use the same idea from CTCI 1.1. The only diffe... 阅读全文
posted @ 2014-07-05 17:56 中二病程序猿 阅读(264) 评论(0) 推荐(0)
 
CTCI 1.2
摘要: Since I mainly use Java, this problem seems meaning less for me to implement it with Java. Just use StringBuilder to append each character in string f... 阅读全文
posted @ 2014-07-05 15:28 中二病程序猿 阅读(141) 评论(0) 推荐(0)
 
CTCI 1.1
摘要: Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structure?In order to know whether ... 阅读全文
posted @ 2014-07-05 15:01 中二病程序猿 阅读(170) 评论(0) 推荐(0)
 
 

公告


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