摘要: 要求:在Python环境下用尽可能多的方法反转字符串,例如将s = "abcdef"反转成 "fedcba" 第一种:使用字符串切片 result = s[::-1] 第二种:使用列表的reverse方法 l = list(s) result = "".join(l.reverse()) 当然下面也行 l = list(s) result = "".join(l[::-1]) 第三种:使用r... 阅读全文
posted @ 2018-08-23 16:38 热之雪 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 1、Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou 阅读全文
posted @ 2018-08-23 16:00 热之雪 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 本文总结ML面试常见的问题集 转载来源:https://blog.csdn.net/v_july_v/article/details/78121924 31、下列哪个不属于CRF模型对于HMM和MEMM模型的优势(B ) A. 特征灵活 B. 速度快 C. 可容纳较多上下文信息 D. 全局最优首先, 阅读全文
posted @ 2018-08-23 14:00 热之雪 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 本文总结ML面试常见的问题集 转载来源:https://blog.csdn.net/v_july_v/article/details/78121924 21、请简要说说EM算法。 @tornadomeet,本题解析来源:http://www.cnblogs.com/tornadomeet/p/339 阅读全文
posted @ 2018-08-23 00:10 热之雪 阅读(236) 评论(0) 推荐(0) 编辑