The function is to count depth of brackets and return the position of maximum and earliest depth.
enter code here #include #include