Leetcode hard problems and Solutions in C++/Java/Python
# | Title | Solution | Time | Space | Tag | Note |
---|---|---|---|---|---|---|
1707 | Maximum XOR With an Element From Array | C++ | O(nlogn + mlogm + nlogk + mlogk) | O(nlogk) | bit-manipulation |
|
2151 | Maximum Good People Based on Statements | C++ | O(n^2 * 2^n) | O(1) | Hard |