Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
C#. A program that finds the maximal sequence of consecutive equal elements in an array. E.g {1,1,2,3,2,2,2,1} -> {2,2,2}
c#
4 Votos
2 Respuestas
2nd Mar 2017, 1:21 PM
ODUKOYA JESUSEYITAN
Distinct elements of two arrays into single array. And count no of this distinct elements
distinct
0 Votos
1 Respuesta
20th Sep 2018, 4:26 PM
Jyothsna Sattenapalli
Write a program in Java to store 10 different words in a Single Dimensional array. Perform the following tasks.
java
0 Votos
3 Respuestas
28th Oct 2022, 11:43 AM
Javgeek
I want to access array [1] and change the value. I have error. Thanks you sir.
access
and
array.
change
string
-1 Voto
2 Respuestas
23rd Oct 2021, 9:19 AM
Malick Diagne
The number after the data type, ex. int64, represents the bitsize of the data type of a numpy array.
dtype
numpy
python
2 Votos
2 Respuestas
15th Apr 2020, 3:35 PM
Charles Itibi
Hi folks, I always wonder if there is a simple way in java to print all the element of an array.
arrays
java
1 Voto
6 Respuestas
22nd Jun 2018, 4:18 PM
Dot
Anybody tell me the logic to find the mirror image of an array without using another array.
1
1 Voto
1 Respuesta
7th Feb 2019, 3:16 PM
divya murugan
It is not possible in PHP to rename the named key in an associative array. Am I correct?
arrays
php
0 Votos
3 Respuestas
14th Mar 2016, 4:10 PM
Swarup Selvaraj
Fill in the blank to declare a jagged array that contains 8 two dimensional array. int [ ] [ , ] a= new int [_][_];
c#
1 Voto
4 Respuestas
29th Apr 2017, 12:36 PM
Saran Kumar
The given array represents the daily number of infections for 30 days. The condition and output the size of the resulting array.
py
1 Voto
3 Respuestas
20th Feb 2023, 2:45 PM
Arya Swastik Kar
You are creating a ticketing program for a small movie theater. The seats are represented using a 2-dimensional array.
java
0 Votos
2 Respuestas
8th Feb 2024, 4:30 AM
Divyanshu Singh
There are repeated elements in an array.Print each element exactly once in the order given in the input array.
hashing
0 Votos
3 Respuestas
13th Nov 2016, 9:34 PM
shivam khare
I want to include @ and dot (.) in my code. And call it in the array. Thanks you.
@
and
dot
0 Votos
1 Respuesta
2nd Dec 2020, 5:24 AM
Malick Diagne
There is a problem with my code.I want calculate BMI values and store in a array. Can anyone help me with this please?
c++
1 Voto
4 Respuestas
18th Jun 2021, 3:37 AM
J Jenshika
How do I find duplicated values on a binary search? I want to know all the duplicates position in the array.
binarysearch
1 Voto
2 Respuestas
21st Oct 2019, 11:48 PM
Flávia B
The numeric array A [m] [n] is specified. Create a program to search for elements of the array. C ++
arrays
c++
two-dimensional
0 Votos
1 Respuesta
25th Apr 2019, 10:48 PM
Стефан Валиев
Take 10 integer inputs from user and store them in an array. Now, copy all the elements in another array but in reverse order
c++
1 Voto
3 Respuestas
19th Jan 2022, 6:22 AM
Mumtaz Ali
Given an array of integers as input, find the length of longest series of same numbers in the array. Also print that number.
array
fun
java
length
series
2 Votos
4 Respuestas
20th Sep 2017, 6:53 AM
Sahil Luthra
Hi. Everyone, your help with the resolution for the project 49 of the C# course, in witch say that make a codification array.
c#
csharpem
2 Votos
2 Respuestas
24th Jun 2022, 5:47 AM
Avellaneda
Write a program in c to enter 20 number in an array. Determine the sum of odd numbers and even numbers separately
c
0 Votos
4 Respuestas
12th Feb 2017, 2:04 PM
ankit pariyar
I was going through my notes and realized that we were never show how to iterate through a multidimentional array. How's it done
arrays
c++
multidimentional
1 Voto
3 Respuestas
26th Feb 2021, 6:17 PM
Michael Maxwell
Write a program in Java to input any word, arrange and print them in alphabetical order. Without array.
java
programming
0 Votos
1 Respuesta
22nd Nov 2017, 4:44 AM
prakriti
Java: I need help to get started on my programming assignment: Write a program that prompts a user to enter data for an array. T
class
data
primitive
scanner
2 Votos
6 Respuestas
31st Mar 2017, 11:05 PM
Jean Prathammavong
Define a function named longest_duplicates that returns the length of the longest sub-array of duplicates in a given sort array.
c++
1 Voto
2 Respuestas
3rd Mar 2017, 5:52 AM
Tosrif Jahan Sakib
How do I make so array has words, now I have a input output should be the most similar to input from the array.
array
filter
js
selection
sort
2 Votos
1 Respuesta
9th Nov 2022, 11:22 AM
heaker Gamer
Good morning sir. I want to display two images interact js like this code with src array. Thanks you sir
display
images
two
0 Votos
1 Respuesta
27th May 2022, 1:03 PM
Malick Diagne
'write a function that accepts an array of non negative integers and returns the second largest integer in the array.
arrays
0 Votos
2 Respuestas
18th Feb 2017, 2:23 PM
Ricardo Chitagu
Yo find the sum of any number of integers entered as comnand line argument , help of using array.
java
-4 Votos
3 Respuestas
4th Mar 2019, 1:28 PM
Rabi Sil
You are given n integers. Store the integers in an array and physically reverse the order of the integers in the array.
c++
operators
0 Votos
3 Respuestas
9th Jul 2017, 2:51 AM
Joyanta Mondal
Input the amount of sales for 12 months of a medical representative and find the average sales value without using an array.
c++
-1 Voto
4 Respuestas
20th Jul 2016, 3:12 PM
Akshay AK
Return the number of even ints in the given array. Note: the % "mod" operator computes the remainder, e.g. 5 % 2 is 1.
3
python
0 Votos
3 Respuestas
20th Sep 2019, 6:23 AM
AMAN TOMAR
Hi everyone. I have got an array of objects with name properties.How do i count the total number of letters in the array.
javascript
0 Votos
2 Respuestas
11th Feb 2022, 11:03 AM
CedyAdvance
You are required to implement a stack using an array. If the array is full, the bottom item is dropped from the stack.
c++
0 Votos
1 Respuesta
26th Sep 2019, 7:23 AM
Simran Mengi
"When passing two-dimensional arrays, it is not mandatory to specify the number of rows in the array. However, the number of col
2d_array
arrays
c
clanguage
doubt
0 Votos
1 Respuesta
26th Apr 2022, 6:56 PM
blueshipswims
I wrote a program to find the symmetric elements in an array. Please suggest your version. How do you do it?
arrays
list
loops
output
symmetric_pairs
0 Votos
1 Respuesta
28th Jul 2020, 6:02 AM
Tom
For example, there are 10 elements in the array. But there are four of them. Send the remaining 6 items to display as empty
arrays
c++
help
me
please
0 Votos
2 Respuestas
1st Apr 2018, 8:15 AM
Farrukh Yuldoshev
write a function biggestEven that takes an array of number as an argument and returns the biggest even number in array.
js
-3 Votos
2 Respuestas
17th Mar 2017, 4:56 PM
jab
Getting error that my array might not be initialized. I'm trying contain all prime numbers within a given number into an array.
array
findprime
java
0 Votos
2 Respuestas
12th Jul 2017, 3:18 AM
Joseph Nithish
Write a Java program to move all 0's to the end of an array. Maintain the relative order of the other (non-zero) array elements.
arrays
java
0 Votos
2 Respuestas
31st Jul 2019, 4:56 PM
Prakash Ranjan
14. Write a JavaScript function to get all possible subset with a fixed length (for example 2) combinations in an array. Sampl
arrays
javascript
0 Votos
1 Respuesta
8th Dec 2016, 9:39 PM
Nashwan Aziz
guys I have a question in array. When i run the code it prints "sanji" since the statement is [2] & it is count as 0,1,2. now ++
java
0 Votos
2 Respuestas
5th Oct 2022, 2:58 PM
ivor
Write a program to sort the rows in a 3 by 3 two dimensional array. A new array is returned. can someone help
c++
0 Votos
1 Respuesta
11th Nov 2017, 4:35 PM
Ty'Quan Smiley
Write a program to print all the LEADERS in the array. An element is leader if it is greater than all the elements to its right
c
-2 Votos
2 Respuestas
11th Oct 2018, 2:42 AM
Golu
How compare data in two different time? I Append live data to numpy array. How compare data in two different time? Or how call
finance
python
python3
stock
0 Votos
1 Respuesta
20th Apr 2021, 3:50 PM
Alireza Faramarzi
please help me for solve this problem write code in java {3,5,6,8{3,5,1,2}5,6,7,9,10} this is array of integer how can remove the braces and sort the element of array.
java
1 Voto
2 Respuestas
28th Dec 2016, 9:18 AM
Madhuri Choudhari
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
java
-1 Voto
1 Respuesta
15th Dec 2016, 9:00 PM
Nashwan Aziz
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
javascript
-2 Votos
1 Respuesta
17th Dec 2016, 6:43 PM
Nashwan Aziz
When working in Swift Playground can I print the value of a variable? I would like to see the value of a variable in an array.
variables
0 Votos
2 Respuestas
18th Oct 2016, 1:53 PM
Neville Moray
A) Write a C program to search a particular roll no. in an array. If that roll no. exist in an array print “number is present"
c
-4 Votos
2 Respuestas
22nd Apr 2018, 10:07 AM
uttamrich
Hi guys... What do I have to do to this program if I want to check if 2 or more elements are in the array. Let's say 12 n 36?
arrays
checking
java
1 Voto
2 Respuestas
27th Mar 2017, 6:26 AM
Ricardo Chitagu
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
2
3
4
Siguiente >
En tendencia hoy
Can someone suggest codespace to run my code (react.js)?
1 Votes
Solved Chess tournament you’re creating code for a chess tournament
0 Votes
Is it legal to use conditional preprocessors inside a macro function?
1 Votes
difference btw courses (python)
1 Votes
I write a python code for "Take a phrase and replace any instances of an integer from 0-10 and replace it with the English word.
1 Votes
C++ Solid principles
3 Votes
C Programming roadmap
2 Votes
[off-topic]Where is Result??
1 Votes
[SOLVED] Where do you find code coaches?
1 Votes
Messages
1 Votes