tagged [time-complexity]

how would i find the time and space complexity of this code?

how would i find the time and space complexity of this code? I am having difficulty finding space and time complexity for this code that i wrote to find number of palindromes in a string. ``` /** Thi...