LeetCodeを今年中に100問解くという目標をたててから、約3ヶ月。現在50問解くことに成功したので、一回振り返りをしてみようと思います。 メンターに勧められたからというのが一番大きいのですが、CSを専攻していない自分に足りないプログラミングの考え ...
プログラマーの就職活動でおこなわれているコーディング面接。 その面接でつかわれる問題の学習サイトが「LeetCode」です。 GAFAの外資系企業の面接対策として有効とされています。 ぼくも一カ月ほどまえに「LeetCode」での学習をはじめ、10問ほど解き終わり ...
Given a sorted array nums, remove the duplicates in-place such that each element appears only once and returns the new length. Do not allocate extra space for another array, you must do this by ...
Let’s walk through the provided Java code to understand how it works, specifically for the problem of finding the k-th smallest distance pair in an array of integers. I’ll explain the components of ...