摘要: leetcode刷题笔记十二 整数转罗马数字 Scala版本 源地址:整数转罗马数字 问题描述: Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 阅读全文
posted @ 2020-04-13 21:40 ganshuoos 阅读(268) 评论(0) 推荐(0) 编辑
摘要: leetcode刷题笔记十一 盛最多水的容器 Scala版本 源地址:盛最多水的容器 问题描述: Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). 阅读全文
posted @ 2020-04-13 20:13 ganshuoos 阅读(105) 评论(0) 推荐(0) 编辑
摘要: leetcode刷题笔记十 正则表达式 Scala版本 源地址:leetcode刷题笔记十 正则表达式 Scala版本 问题描述: Given an input string (s) and a pattern (p), implement regular expression matching w 阅读全文
posted @ 2020-04-13 02:37 ganshuoos 阅读(145) 评论(0) 推荐(0) 编辑