Git Product home page Git Product logo

Comments (32)

alicelmx avatar alicelmx commented on June 16, 2024

785
https://leetcode.com/problems/is-graph-bipartite/solutions/3849632/java-dfs-super-ez-to-understand-solution/

from advanced-challenge.

sure00 avatar sure00 commented on June 16, 2024

785. Is Graph Bipartite?
https://leetcode.com/problems/is-graph-bipartite/solutions/3850377/color-graph/

from advanced-challenge.

bells0 avatar bells0 commented on June 16, 2024

785:
https://leetcode.cn/problems/is-graph-bipartite/solutions/2368949/dfspan-duan-er-fen-tu-by-wonderbell-7d61/

from advanced-challenge.

ZitongWang1202 avatar ZitongWang1202 commented on June 16, 2024

886
https://leetcode.com/problems/possible-bipartition/solutions/3850616/python3-bipartite-graph/

from advanced-challenge.

RuokeZhang avatar RuokeZhang commented on June 16, 2024

https://leetcode.com/problems/possible-bipartition/solutions/3850687/dfs-java/
886

from advanced-challenge.

EvelynGao233 avatar EvelynGao233 commented on June 16, 2024

886
https://leetcode.com/problems/possible-bipartition/solutions/3850717/python3-dfs/
785
https://leetcode.com/problems/is-graph-bipartite/solutions/3850650/python3-dfs-bfs/

from advanced-challenge.

stonehard0208 avatar stonehard0208 commented on June 16, 2024

785:
https://leetcode.cn/problems/is-graph-bipartite/solutions/2369060/python3-by-xing-chuan-li-li-b8ro/
886:
https://leetcode.cn/problems/possible-bipartition/solutions/2369133/python3-by-xing-chuan-li-li-33lo/

from advanced-challenge.

liuyuhang599 avatar liuyuhang599 commented on June 16, 2024

785
https://leetcode.com/problems/is-graph-bipartite/solutions/3851025/cpp-dfs-solution/

from advanced-challenge.

lilacyl avatar lilacyl commented on June 16, 2024

785
https://leetcode.com/problems/is-graph-bipartite/solutions/3851093/dfs-recursive-solution/

from advanced-challenge.

dh0072 avatar dh0072 commented on June 16, 2024

Q785. Is Graph Bipartite?
写了两个解法:DFS和Union Find
DFS做了代码简化,color不再是boolean[]而是int[],使用1和-1记录两个颜色,0代表没有visit过,这样可以省去visited[]
https://leetcode.com/problems/is-graph-bipartite/discuss/3850915/Java-Solution-DFS-and-Union-Find

Q886. Possible Bipartition
https://leetcode.com/problems/possible-bipartition/discuss/3850972/Java-DFS-solution

from advanced-challenge.

yuhaoli-95 avatar yuhaoli-95 commented on June 16, 2024

785
https://leetcode.cn/problems/is-graph-bipartite/solution/pan-duan-er-fen-tu-by-yuhaoli2333-7h3r/
886
https://leetcode.cn/problems/possible-bipartition/solution/er-fen-tu-pan-ding-by-yuhaoli2333-w5fx/

from advanced-challenge.

Yang-Veronica avatar Yang-Veronica commented on June 16, 2024

785
https://leetcode.cn/problems/is-graph-bipartite/solution/785pan-duan-er-fen-tu-by-peaceful-almeid-nv5s/
886
https://leetcode.cn/problems/possible-bipartition/solution/886-ke-neng-de-er-fen-fa-pan-ding-er-fen-fttf/

from advanced-challenge.

Heildiana avatar Heildiana commented on June 16, 2024

https://leetcode.cn/problems/is-graph-bipartite/solutions/2370122/dfstu-se-by-foultarnished-b6lz/

from advanced-challenge.

zy-79 avatar zy-79 commented on June 16, 2024

886
https://leetcode.cn/problems/possible-bipartition/solution/javajie-fa-xue-xi-bi-ji-by-xiao-qi-18-tq11/

from advanced-challenge.

Carol-Zhu avatar Carol-Zhu commented on June 16, 2024

Day2打卡:
785题
https://leetcode.cn/problems/is-graph-bipartite/solutions/2370309/jin-jie-day2-er-fen-tu-pan-duan-by-carol-yjjb/

from advanced-challenge.

Flytothefuture avatar Flytothefuture commented on June 16, 2024

784题
https://leetcode.cn/problems/is-graph-bipartite/description/
886好怪,,换了个数据结构就不会了qwq,明天再看看

from advanced-challenge.

mochi66 avatar mochi66 commented on June 16, 2024

785:
https://leetcode.com/problems/is-graph-bipartite/solutions/3853977/java-dfs-solution/

from advanced-challenge.

husky105 avatar husky105 commented on June 16, 2024

https://leetcode.cn/problems/minimum-height-trees/solutions/2370679/zui-xiao-gao-du-shu-by-fu-he-lin-9941/

from advanced-challenge.

CarryLiao5959 avatar CarryLiao5959 commented on June 16, 2024

https://leetcode.cn/problems/is-graph-bipartite/solutions/2370901/dfs-by-carry-vv-wwbv/

from advanced-challenge.

enoren111 avatar enoren111 commented on June 16, 2024

785
https://leetcode.cn/problems/is-graph-bipartite/solutions/2370994/785-by-schneiderlin-i-ribh/

from advanced-challenge.

FisherChang avatar FisherChang commented on June 16, 2024

785
https://leetcode.cn/problems/is-graph-bipartite/solutions/2371027/di-gui-pan-duan-er-fen-tu-by-cai-zhang-c-rfx5/

from advanced-challenge.

xiaoyu-wen-1118 avatar xiaoyu-wen-1118 commented on June 16, 2024
  1. https://leetcode.com/problems/is-graph-bipartite/solutions/3856132/python-dfs-with-explanation/

from advanced-challenge.

lichade-son avatar lichade-son commented on June 16, 2024

785
https://leetcode.cn/problems/is-graph-bipartite/solutions/2371123/pan-duan-er-fen-tu-dfsbfs-by-pensive-mon-abbt/

from advanced-challenge.

cjqcjqhhh avatar cjqcjqhhh commented on June 16, 2024

https://leetcode.cn/problems/is-graph-bipartite/solutions/2371396/day2-da-qia-by-cjqcjqhhh-wzt7/

from advanced-challenge.

Youarenotblind avatar Youarenotblind commented on June 16, 2024

886纯C
https://leetcode.cn/problems/possible-bipartition/solutions/2371598/c-ke-neng-de-er-fen-fa-by-chong-shi-a-0bko/

from advanced-challenge.

nulunulunu avatar nulunulunu commented on June 16, 2024

https://leetcode.cn/problems/is-graph-bipartite/solutions/2370167/tu-de-bian-li-huan-hen-bu-shou-lian-by-c-dbfu/

from advanced-challenge.

YunjiQ avatar YunjiQ commented on June 16, 2024

from advanced-challenge.

Air-skipper avatar Air-skipper commented on June 16, 2024

https://leetcode.cn/problems/is-graph-bipartite/solution/shi-fou-er-fen-tu-by-air-skipper-mc47/

from advanced-challenge.

zhuminghui17 avatar zhuminghui17 commented on June 16, 2024

https://leetcode.com/problems/is-graph-bipartite/solutions/3858977/785-is-graph-bipartite-python/

from advanced-challenge.

xiaopeiyi0704 avatar xiaopeiyi0704 commented on June 16, 2024

https://leetcode.com/problems/possible-bipartition/discuss/3910889/java-dfs

from advanced-challenge.

LHRlo avatar LHRlo commented on June 16, 2024

https://leetcode.cn/problems/possible-bipartition/solutions/2388948/zhuan-hua-cheng-tu-de-ling-jie-biao-zai-m9y50/

from advanced-challenge.

elaineKuo avatar elaineKuo commented on June 16, 2024

785
https://leetcode.cn/problems/is-graph-bipartite/solutions/2096842/pan-duan-er-fen-tu-by-mei-vampire-4839/

from advanced-challenge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.