Srikanth N.

asked • 01/02/21

I need it now!!!

length = strlen(str)

for(i = 0; i < length; i++)

{

symb = paranthesis[i];

if(symb == '_____' && stack_size == ____ )

top = push(top,symb);

else if(symb == '____' && stack_size == _____)

break;

else if(symb == '____')

top = push(top,symb);

else if(symb == '_____ ' && top->ps == " ______")

top = ______(_____)

}

if(i == length && stack_size == _____)

printf("The String is valid");

}

1 Expert Answer

By:

Patrick B. answered • 01/02/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.