python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Iterating over pointer array C++
I am new to C++ but I have an experience in C. Now I am trying to iterate over an array of objects but I am getting segmentation fault because it runs out of the range of the array.
I have a class Zom...
Sargis Hovsepyan
Votes: 0
Answers: 3
Iterating over two lists and removing a value on condition in Kotlin
I have a list of time slots of an hour each and a list of slot bookings stored in Firestore for the same day. I now need to show availability of free slots to the user. So I am running the below code....
madhall
Votes: 0
Answers: 1
Cannot get the first element of array whereas map() works as a charm
In a React component want to print out the a value of an object ("name") which is the first element in the array:
"production_countries": [
{
"iso_3166_1": "US...

rumon
Votes: 0
Answers: 1
How do I iterate over a 2D array and check each value within the array?
I am trying to iterate over a 2D array to check whether my numbers are between 1 and 9. The console's output does not reflect what I have input.
My code (input):
import numpy as np
array_test = np.ar...
the_fledgling_programmer
Votes: 0
Answers: 0