Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Well-formed Generated Parentheses with all combinations. More...
#include <cassert>
#include <iostream>
#include <vector>
Classes | |
class | backtracking::generate_parentheses |
generate_parentheses class More... | |
Namespaces | |
namespace | backtracking |
for vector container | |
Functions | |
static void | test () |
Self-test implementations. | |
int | main () |
Main function. | |
Well-formed Generated Parentheses with all combinations.
a sequence of parentheses is well-formed if each opening parentheses has a corresponding closing parenthesis and the closing parentheses are correctly ordered
int main | ( | void | ) |
Main function.
Driver Code
|
static |
Self-test implementations.