欢迎访问yhm138的博客园博客, 你可以通过 [RSS] 的方式持续关注博客更新

MyAvatar

yhm138

HelloWorld!

【Leetcode1949. 坚定的友谊】使用MySQL在无向图中寻找{"CompleteTripartite", {1, 1, 3}}这个pattern

目录题目地址思路代码MySQL代码逐行翻译为Pandas代码等效Cypher查询(未验证) 题目地址 https://leetcode.cn/problems/strong-friendship/ 思路 就是在无向图中寻找这个pattern: (* Mathematica *) GraphData[
posted @ 2024-01-13 10:11  yhm138  阅读(4)  评论(0编辑  收藏  举报