2022-08-01から1ヶ月間の記事一覧
表題 586. Customer Placing the Largest Number of Orders 問題リンク https://leetcode.com/problems/customer-placing-the-largest-number-of-orders/ 自分の書いたコード ここをクリック いけそうだと思ったけど全然ダメでした... select max(customer_n…
今日は以下の問題を解きました。 問題 リンク 20. Valid Parentheses https://leetcode.com/problems/valid-parentheses/submissions/ 自分の書いたコード ここをクリック # @param {String} s # @return {Boolean} def is_valid(s) return false if s.lengt…
問題リンク https://leetcode.com/problems/delete-duplicate-emails/ 自分の書いたコード I couldn't solve this. 解答例(Discussから引用) ここをクリックすると答えが見れます 一覧用のリンク https://leetcode.com/problems/delete-duplicate-emails/dis…
問題リンク https://leetcode.com/problems/longest-common-prefix/ 自分の書いたコード "I couldn't fix this" 解答例(Discussから引用) ここをクリックすると答えが見れます 一覧のリンク https://leetcode.com/problems/longest-common-prefix/discuss/?c…
問題リンク https://leetcode.com/problems/game-play-analysis-i/ 自分の書いたコード 以下は参考にしたリンク MySQL | データをグループ化する(GROUP BY句) SQLで同一グループの中で最大/最小のレコードを取得する - Qiita解答的にはok。 SELECT player_id…
問題リンク Loading... 自分の書いたコード SELECT name FROM Customers INNER JOIN Orders ON Customers.id = Orders.customerId 答え(Discussから引用) ここをクリックすると答えが見れます わかりやすいのでURLも添付 https://leetcode.com/problems/cust…