My Solutions to Leetcode problems. All solutions support C++ language, some support Java and Python. Multiple solutions will be given by most problems. Enjoy:) 我的Leetcode解答。所有的问题都支持C++语言,一部分问题支持Java语言。近乎所有问题都会提供多个算
2023-12-07 1903 Largest Odd Number in String Math /source/Generator1903.py /generated/1903_Largest_Odd_Number_in_String.txt 2023-12-06 1716 Calculate Money in Leetcode Bank Math /source/Generator1716.py /generated/1716_Calculate_Money_in_Leetcode_Bank.txt 2023-12-05 1688 Count of Matches ...
1 find the mid of the list 2check the len is odd or even 3 reverse 4compare 5recover
A bipartite graph is possible if the graph coloring is possible using two colors such that vertices in a set are colored with the same color. Note that it is possible to color a cycle graph with even cycle using two colors. For example, see the following graph. It is not possible to c...
A bipartite graph is possible if the graph coloring is possible using two colors such that vertices in a set are colored with the same color. Note that it is possible to color a cycle graph with even cycle using two colors. For example, see the following graph. ...