随笔分类 -  leetcode 刷题笔记

上一页 1 ··· 9 10 11 12 13
摘要: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 阅读(110) 评论(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 阅读(149) 评论(0) 推荐(0)
摘要:leetcode刷题笔记九 回文数 Scala版本 源地址:leetcode刷题笔记九 回文数 Scala版本 问题描述: Determine whether an integer is a palindrome. An integer is a palindrome when it reads t 阅读全文
posted @ 2020-04-11 23:14 ganshuoos 阅读(296) 评论(0) 推荐(0)
摘要:leetcode刷题笔记八 字符串转整性 Scala版本 源地址: leetcode刷题笔记八 字符串转整性 Scala版本 问题描述: Only the space character ' ' is considered as whitespace character. Assume we are 阅读全文
posted @ 2020-04-11 00:18 ganshuoos 阅读(123) 评论(0) 推荐(0)
摘要:leetcode刷题笔记七 整数反转 Scala版本 源地址:(leetcode刷题笔记七 整数反转 Scala版本)[https://leetcode.com/problems/reverse-integer/submissions/] 问题描述: Given a 32-bit signed in 阅读全文
posted @ 2020-04-08 22:33 ganshuoos 阅读(249) 评论(0) 推荐(0)
摘要:leetcode刷题笔记六 Z字型转换 Scala版本 源地址:(leetcode刷题笔记六 Z字型转换 Scala版本)[https://leetcode.com/problems/zigzag-conversion/submissions/] 问题描述: The string "PAYPALIS 阅读全文
posted @ 2020-04-08 01:08 ganshuoos 阅读(123) 评论(0) 推荐(0)
摘要:leetcode刷题笔记五 最长回文子串 Scala版本 源地址: leetcode刷题笔记五 最长回文子串 Scala版本 问题描述 Given a string s, find the longest palindromic substring in s. You may assume that 阅读全文
posted @ 2020-04-07 17:12 ganshuoos 阅读(164) 评论(0) 推荐(0)
摘要:leetcode刷题笔记三 最长不重复子串 Scala版本 原地址:[https://leetcode.com/problems/longest-substring-without-repeating-characters/]:最长不重复子串 问题描述 题干: Given a string, fin 阅读全文
posted @ 2020-04-04 00:17 ganshuoos 阅读(134) 评论(0) 推荐(0)
摘要:Leetcode 刷题笔记二 两数相加(使用链表) -- scala版本 原地址:两数相加 问题描述: 题干: You are given two non-empty linked lists representing two non-negative integers. The digits ar 阅读全文
posted @ 2019-08-20 17:59 ganshuoos 阅读(379) 评论(0) 推荐(0)
摘要:Leetcode 刷题笔记一 两数之和 -- scala版本 原地址:两数之和 问题描述: 题干: Given an array of integers, return indices of the two numbers such that they add up to a specific ta 阅读全文
posted @ 2019-08-19 13:57 ganshuoos 阅读(232) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13