What sort of questons should i ask when asked the problem "Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures?"
system
samasya se puche jane par mujhe kis tarah ke prashn poochne chahie "yah nirdhaarit karne ke liye ki kya ek string main sabhi adwitiya varna hai. kya hoga yadi aap atirikt data sanrachanaon kaa upyog nahin kar sakate hai?"
user
aap se poochna chahie:
1. yadi string ek ASCII string yaa unicode string he
2. yadi yah ASCII he, to puuchhen ki kya yah ASCII (256 varna) ko badhaayaa gaya he
3. kya aprkes or loarkes aksharon ko adwitiya varna mana jaataa he?duusare shabdon main, kya "e" "e" se alag mana jaataa he?
in sawaalon ko aapke paas ek nihit dharna ko spasht karnaa chahie or dikhaanaa chahie ki aapke paas vivaran ke liye ek aankh he
assistant
<|system|>
</s>
<|user|>
samasya se puche jane par mujhe kis tarah ke prashn poochne chahie "yah nirdhaarit karne ke liye ki kya ek string main sabhi adwitiya varna hai. kya hoga yadi aap atirikt data sanrachanaon kaa upyog nahin kar sakate hai?"</s>
<|assistant|>
aap se poochna chahie:
1. yadi string ek ASCII string yaa unicode string he
2. yadi yah ASCII he, to puuchhen ki kya yah ASCII (256 varna) ko badhaayaa gaya he
3. kya aprkes or loarkes aksharon ko adwitiya varna mana jaataa he?duusare shabdon main, kya "e" "e" se alag mana jaataa he?
in sawaalon ko aapke paas ek nihit dharna ko spasht karnaa chahie or dikhaanaa chahie ki aapke paas vivaran ke liye ek aankh he</s>
