摘要:
leetcode刷题笔记二十二 括号生成 Scala版本 源地址: "22. 括号生成" 问题描述: Given n pairs of parentheses, write a function to generate all combinations of well formed parenthe 阅读全文
摘要:
leetcode刷题笔记二十 有效的括号 Scala版本 源地址: "20. 有效的括号" 问题描述: Given a string containing just the characters , , , , and , determine if the input string is valid 阅读全文
摘要:
leetcode刷题笔记十九 删除链表的倒数第N个节点 Scala版本 源地址: "19. 删除链表的倒数第N个节点" 问题描述: Given a linked list, remove the n th node from the end of list and return its head. 阅读全文
摘要:
leetcode刷题笔记十八 四数之和 Scala版本 源地址: "18. 四数之和" 问题描述: Given an array of n integers and an integer , are there elements a , b , c , and d in such that a + 阅读全文
摘要:
leetcode刷题笔记十七 电话号码的组合 Scala版本 源地址: "17. 电话号码的字母组合" 题目描述: Given a string containing digits from inclusive, return all possible letter combinations tha 阅读全文
摘要:
leetcode刷题笔记十六 接近三数之和 Scala版本 源地址: "16. 最接近的三数之和" 问题描述: Given an array of n integers and an integer , find three integers in such that the sum is clos 阅读全文