error in challenge question. hashset | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

error in challenge question. hashset

What is output of this code? Sololearn give right answer , that size of set is 5. But, if I'm not mistaken, right answer is 6. I'm interesting your opinion. https://code.sololearn.com/cc2zV5cYcp6e/?ref=app

26th Jul 2018, 1:06 PM
Kirill
7 Answers
+ 11
Kirill the code you attached gives answer 6. So how 5 ??
26th Jul 2018, 1:23 PM
Mohammad Amir Aqeel
Mohammad Amir Aqeel - avatar
+ 10
Kirill Which question are you talking about ??
26th Jul 2018, 1:11 PM
Mohammad Amir Aqeel
Mohammad Amir Aqeel - avatar
+ 10
Kirill where sololearn gave answer 5 ??
26th Jul 2018, 1:20 PM
Mohammad Amir Aqeel
Mohammad Amir Aqeel - avatar
+ 10
Kirill You can attach the challenge question
26th Jul 2018, 1:30 PM
Mohammad Amir Aqeel
Mohammad Amir Aqeel - avatar
+ 2
edited post.
26th Jul 2018, 1:16 PM
Kirill
+ 1
I have screen. it was question in challenge
26th Jul 2018, 1:20 PM
Kirill
+ 1
I can send screenshots with answer of sololearn
26th Jul 2018, 1:25 PM
Kirill