LC: 1259. Handshakes That Don't Cross
https://leetcode.com/problems/handshakes-that-dont-cross/
Input: num_people = 2
Output: 1


Last updated
https://leetcode.com/problems/handshakes-that-dont-cross/
Input: num_people = 2
Output: 1


Last updated
Input: num_people = 4
Output: 2
Explanation: There are two ways to do it, the first way is [(1,2),(3,4)] and the second one is [(2,3),(4,1)].Input: num_people = 6
Output: 5Input: num_people = 8
Output: 14class Solution {
public int numberOfWays(int num_people) {
}
}