• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu

Dyskusje Q&A

arrays
aallarray.inleadersprintprogramthetowrite
0 głosów
1 Odpowiedź
8th May 2018, 4:23 AM
pavankalyan kopparapu
pavankalyan kopparapu - avatar
I have a PHP multiD array like array($arrayA, $arrayB, $arrayA, $arrayC, $arrayC, $arrayA...........) ho can I get a resulting array which have distinct elements from this array and sorted with the more occurance first like... array( $arrayA, $arrayB, $arrayC) because array $arrayA was 3 tumes in first array so it comes first in resulting array.
php
0 głosów
3 odpowiedzi
1st Nov 2016, 5:56 AM
santosh ojha
santosh ojha - avatar
Hello I need help on my assignment. I have a maze using symbols like - and |. It is a constant char array. Can i get help on how I can draw the maze on the screen? I'm not sure on how to write this code. Thanks for any help.
c++
0 głosów
2 odpowiedzi
27th Sep 2016, 10:45 AM
Raul
Raul - avatar
I need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated. The function should return an array containing repetitions of the data argument. For instance, replicate_recur (3, 5) should return [5,5,5]. If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
pythonrecursionstrings
0 głosów
4 odpowiedzi
5th Sep 2016, 9:26 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
< Do tyłu1...34Dalej >
Popularne dzisiaj
My codebits section is full of deleted codes
13 Votes
Ai generated practices
2 Votes
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
0 Votes
Solving coding challenges
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
0 Votes
How can i insert files?
1 Votes
I am new
1 Votes