楼主: Fanyare
跳转到指定楼层
上一主题 下一主题
收起左侧

[CareerCup] [第二轮] 2/18-2/24 CareerCup 1.3

🔗
MrKeke 2013-6-18 20:04:14 | 只看该作者
全局:
Step1: Sort the two strings
Step2: Compare if these two strings are the same

https://gist.github.com/anonymous/5804793
回复

使用道具 举报

🔗
MrKeke 2013-6-18 20:06:55 | 只看该作者
全局:
jimwallet 发表于 2013-2-17 20:28
use additional array to be ascii. space O(n) time O(n)

https://gist.github.com/njcongtou/4971300

I like this solution very much. Have learned a lot by using ascil methodology. Just found this !
回复

使用道具 举报

🔗
MrKeke 2013-6-18 21:14:48 | 只看该作者
全局:
Method 2: Using hash table to solve this problem

https://gist.github.com/yaoqimin2013/5805241
回复

使用道具 举报

🔗
voiding 2013-8-30 05:33:35 | 只看该作者
全局:
Another method. Sort two strings and compare two sorted strings. used sorting algorithm in C++ library.
https://gist.github.com/mogutou1214/6383668
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表