ハッシュテーブル

LeetCode

【LeetCode】 1207. Unique Number of Occurrences 解答・解説【Python】

はじめに LeetCodeの問題を解答します。 なるべく、問題の和訳と詳細なコメントを書いています。 余裕があれば、複数のアプローチの解答と、実際の面接を想定して英語での解法やコメントを書いています。 様々な...
LeetCode

【LeetCode】12. Integer to Roman 解答・解説【Python】

問題 原文 Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, 2 is writte...
LeetCode

【LeetCode】3.Longest Substring Without Repeating Characters 解答・解説【Python】

問題 原文 Given a string s, find the length of the longest substring without repeating characters. Example 1: ...
LeetCode

【LeetCode】61. Rotate List 解答・解説【Python】

問題 原文 Given the head of a linked list, rotate the list to the right by k places. Example 1: Example 2:...
LeetCode

【LeetCode】1.Two Sum 解答・解説【Python】

LeetCodeの問題を解きます。問題文は翻訳サイトと私の拙い英語力で和訳しており、正確でない可能性が高いためご注意ください。 問題文 原文 Given an array of integers nums and an integer...
スポンサーリンク