• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

arrays
aallarray.inleadersprintprogramthetowrite
0 Vote
1 Réponse
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 Vote
3 Réponses
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 Vote
2 Réponses
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 Vote
4 Réponses
5th Sep 2016, 9:26 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
< Précédent1...34Suivant >
Aujourd'hui en vedette
My codebits section is full of deleted codes
13 Votes
Ai generated practices
2 Votes
Solving coding challenges
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Advertising in Sololearn
0 Votes
Hi who can hel me please
0 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes