Func to calculate max length in longest k unique char substring question

What is the max function in longest k unique char substring. Is it inbuilt func ? What is the format and functionality of it ?

hi @agganushka_9eb7cecc88bfac61
max is an inbuilt function used to find max of 2 numbers…
for example

int a = 2, b = 3;
cout<<max(a,b) // this will print 3

hi @agganushka_9eb7cecc88bfac61
I hope its clear now??

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.