+ 1
Challenge : The alphabet pool!!! (Hard)
input any string (example :Domcekas) and the system has to output every letter in my string the alphabetic order (Dacekmos) p.s. upper letter are first but in alphabetic order to like (DOMce => DMOce) good luck
7 Antworten
+ 5
Seriously? Hard? @@
var s1 = 'Domcekas';
var s2 = 'DOMce';
function order_s(s) {
s = s.split('');
s.sort();
s = s.join('');
alert(s);
}
order_s(s1);
order_s(s2);
+ 2
Well the code is almost already write... I don't think it's necessary to save it in a code playground ;P
+ 2
wrote it all in one line
https://code.sololearn.com/c4IS1ts5pOS4/?ref=app
+ 1
one line command in python
https://code.sololearn.com/cOx7wnf4b5a5/?ref=app
0
then write a code, and dont forget you need to input a randon string
0
Wow, was going to try this but doubt I could improve on Shinigami42's efficiency. 👏
- 1
aaaaaahhhh... ok lets vote...
challenge:
1.The Prime Search
2.The game of brackets
choose, both are hard