premjeetsingh6288
BAN USER
0 Answers Sab labs programming question
You have developed an e-commerce website,SHOPPY.Many people have created accounts at your website.you have the passwords of all the users.you want to know how many distinct password =s are there in total.Details of the passwords are as described:
- premjeetsingh6288 February 28, 2017
Each password is a string of characters from a to z
Two passwords, say pass1 and pass2 are said to be same if pass2 can be obtained by swapping the ith character in pass1 where (i+j)%2=0
Input:
input1:N,number of users registered input2[]:Array of strings containing all passwords of the N users.
Output: return T total number of distinct password present
Example: input:2,{abcd,cdab}
output: 1
input:2,{abcd,bcad}
output: 2| Flag | PURGE
RepMaryJRegner, IIT Exam at Rubrik
Avika Ethan has five years of experience collecting physical and biological data in California streams and rivers. In the field ...
RepTassnim James, Backend Developer at Cerberus Capital
Tassnim James, Principal, CFO of Golf Augusta Pro Shops and founding member of BankCap Partners, has nearly 5years of experience ...
RepHi, I am a Graphic designer from Madison. I have been working in cretor for the last 2 years. Before ...
Repsraceymiller, Android Engineer at ASAPInfosystemsPvtLtd
As a wellness pioneer, Life Time is reshaping the way consumers approach their health by integrating where we move, work ...
Repsavannah Enderson, Area Sales Manager at Sophos
Savannah Enderson, I am a professional author who wrote a lot of books on different topics like Love Marriage Problem ...
Repnitaambani352, Area Sales Manager at Absolute Softech Ltd
I am an information processing worker. Automatic office information systems are designed to process information more efficiently and effectively so ...
RepMargareta C Davis, why we reed dua for love at Mathworks
Working as a musician who composes, conducts, and performs music, As I am English singer, a songwriter who wrote songs ...
RepMelanies Peerez, Analyst at Tricon
I am Melanie Perez working as content writer in bumblebee electrics, I love to explore new things in my career ...
Repmadisonbaillieu, Scientific Officer at Collective
Hello, I am Madison. I am from Jacksonville Florida. I Work as Quality control technicians. I am responsible for testing ...
RepGulika Sherlock, Tech Lead at Lava
Gulika Sherlock working as an accountant in Kinder Priyana, who prepares all the accounting work grants management analysis; and plays ...