Hello! This is the list of my Algorithm solutions.
For C++ solutions at LeetCode, we could close I/O synchronization to get a better performance.
Solution() // close I/O synchronization
{
cin.tie(nullptr);
std::ios::sync_with_stdio(false);
}
Algorithm Solutions
Solutions for algorithm questions.
Hello! This is the list of my Algorithm solutions.
For C++ solutions at LeetCode, we could close I/O synchronization to get a better performance.
Solution() // close I/O synchronization
{
cin.tie(nullptr);
std::ios::sync_with_stdio(false);
}