随笔分类 - leetcode 刷题笔记
摘要:leetcode刷题笔记十一 盛最多水的容器 Scala版本 源地址:盛最多水的容器 问题描述: Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai).
阅读全文
摘要:leetcode刷题笔记十 正则表达式 Scala版本 源地址:leetcode刷题笔记十 正则表达式 Scala版本 问题描述: Given an input string (s) and a pattern (p), implement regular expression matching w
阅读全文
摘要:leetcode刷题笔记九 回文数 Scala版本 源地址:leetcode刷题笔记九 回文数 Scala版本 问题描述: Determine whether an integer is a palindrome. An integer is a palindrome when it reads t
阅读全文
摘要:leetcode刷题笔记八 字符串转整性 Scala版本 源地址: leetcode刷题笔记八 字符串转整性 Scala版本 问题描述: Only the space character ' ' is considered as whitespace character. Assume we are
阅读全文
摘要:leetcode刷题笔记七 整数反转 Scala版本 源地址:(leetcode刷题笔记七 整数反转 Scala版本)[https://leetcode.com/problems/reverse-integer/submissions/] 问题描述: Given a 32-bit signed in
阅读全文
摘要:leetcode刷题笔记六 Z字型转换 Scala版本 源地址:(leetcode刷题笔记六 Z字型转换 Scala版本)[https://leetcode.com/problems/zigzag-conversion/submissions/] 问题描述: The string "PAYPALIS
阅读全文
摘要:leetcode刷题笔记五 最长回文子串 Scala版本 源地址: leetcode刷题笔记五 最长回文子串 Scala版本 问题描述 Given a string s, find the longest palindromic substring in s. You may assume that
阅读全文
摘要:leetcode刷题笔记三 最长不重复子串 Scala版本 原地址:[https://leetcode.com/problems/longest-substring-without-repeating-characters/]:最长不重复子串 问题描述 题干: Given a string, fin
阅读全文
摘要:Leetcode 刷题笔记二 两数相加(使用链表) -- scala版本 原地址:两数相加 问题描述: 题干: You are given two non-empty linked lists representing two non-negative integers. The digits ar
阅读全文
摘要:Leetcode 刷题笔记一 两数之和 -- scala版本 原地址:两数之和 问题描述: 题干: Given an array of integers, return indices of the two numbers such that they add up to a specific ta
阅读全文
浙公网安备 33010602011771号