摘要: 目录题目地址代码mysqlpgsqlt-sqloracle 题目地址 https://leetcode.cn/problems/ceo-subordinate-hierarchy/description/ 代码 mysql WITH RECURSIVE EmployeeHierarchy AS ( 阅读全文
posted @ 2025-03-02 17:24 yhm138 阅读(13) 评论(0) 推荐(0)
摘要: 题目地址 https://leetcode.cn/problems/find-circular-gift-exchange-chains/description/ 代码 MySQL WITH RECURSIVE GiftChain AS ( -- Base case: Start with each 阅读全文
posted @ 2025-03-02 16:22 yhm138 阅读(18) 评论(0) 推荐(0)
摘要: 目录题目地址思路代码MySQLPostgresSQLT-SQLOracle 题目地址 https://leetcode.cn/problems/find-trending-hashtags/description/ 简单版本。每条推文只包含一个标签。 https://leetcode.cn/prob 阅读全文
posted @ 2025-03-02 09:57 yhm138 阅读(14) 评论(0) 推荐(0)