what if cahrs are in ascii code range and not just characters. Any solution for that ?
On Sat, Jul 23, 2011 at 9:57 AM, keyan karthi <[email protected]>wrote: > u can use an integer as a "bit mask" to do this....... by setting the > <alphabet>-'a' th bit, and checking the same...... > > > On Sat, Jul 23, 2011 at 9:52 AM, Reynald <[email protected]> wrote: > >> Implement an algorithm to determine if a string has all unique >> characters. What if you can not use additional data structures? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Ankur Khurana Computer Science Netaji Subhas Institute Of Technology Delhi. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
