Commonutils

File Name: commonUtils.py ```python from stylepy import timeComplexity from stylepy import spaceComplexity def timeComplexity(value, desc): result = f'\n 🕒 Time Complexity: Approximately {value}'

1
2
3
if (desc):
    result += f'\n    Description: {desc}'
print(result)

timeComplexity("value", "desc") def spaceComplexity(value, desc): result = f' 💾 Space Complexity: Approximately {value}'

1
2
3
if (desc):
    result += f'\n    Description: {desc}'
print(result)

spaceComplexity("value", "desc")```