Hey did he forgot to consider that values in the arr can be >the size of array

Hey did he forgot to consider that values in the arr can be >the size of array.Because if it happens then he must have said about compression of values…because suppose the values in arr are 1 , 45454 , 43353 then the BIT array of 3 length wont work until we compress the values…

hello @kaushikjatin
yeah u are right,
to hanle that either u can apply compression or declare bit of size maximum value of element present in array.

I got it…I declared the doubt too early…in the next video he said about compressing the values…

@aman212yadav…provide the link for the resolution of doubt as it is painful to go to the clasroom and then search for thr question so as we have to resolve from there…

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.