<jupyter_start><jupyter_text>HackerrankSolution of the Balanced Brackets Problem<jupyter_code>bool correct = true;
stack <char> open;

for(int i = 0; i < in.length(), ++i)
{
    if(in[i] == '(')
    {
        open.push_back('(');
    }
    else
    {
        if(!open.empty())
        {
            open.pop;
        }
        else
        {
            return false;
        }

    }
    if(!open.empty)
    {
        return false;
    }
    return true;
}<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14168377823408623, 'fraction_numerical': 0.002053388090349076, 'mean_word_length': 1.6813186813186813, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '618120', 'license': 'MIT', 'n_tokens_mistral': 181, 'n_tokens_neox': 175, 'n_words': 31, 'path': 'Python/python-hackerrank-notebook.ipynb', 'repo_name': 'Alfred-Li-um/Alfred-Li-um.github.io', 'size': '487'}