In my midterm CYA game, you come across 2 staircases, left and right. You have the option to choose which one you go to, the right advancing you and the left (e
I am trying to generate a list of names from an Array with this piece of script const names = ["John", "Hanna", "Luis", "Halley", "Maive"] con
I have a wide set of splines, and at each point (x,z) of these splines is associated to a field value. I need to map all these points and relevant field values
If an array consist of decimal number which represents as blocks('#') or empty(' '). For example. A = [31,21,29,19,31] represents['11111', '10101', '11101', '
I have this array myarr = [ '=title1', 'longText0...', 'longtText1...', '=title2', 'longTextA...', 'longtTextB...', 'longtTextC...' ]; symbo
I'm working on an exercise to calculate the length of a string using pointers. Here's the code I've written below: int main() { std::string text = "Hello W
I have the following array: Array ( [0] => James [1] => Mike [2] => Liam [3] => Shantel [4] => Harry ) Arra
I apologize in advance for the title, my question is not that easy to explain on it. What I mean by that is the following: Having an array of type, 4x4, it has
I am a very inexperienced programmer with no formal education. Details will be extremely helpful in any responses. I have made several basic python scripts to c
I have template <class T> class arrList: public linearList<T> { public: arrList() {} arrList(const arrList<T>& List); ~
Please does anyone have any idea why when I pass my 2 dim Numpy float64 (Double) array normally it prints row by row correctly, col1, col2, col3, col4 as I trav
Alright, I've got a real stupid question. I have a two-dimensionial array of nullable integers. I wanna get the non-nullable corners of that array - so like, th
I need to extract objects from an array, where there's more than one object in that array I need to repeat for every id and if the field is null then I want to
I'm trying to count how many element that is exceed some criteria (for exemple: 0.7) and then convert them into percent, the element is in a multiple list that
I have two arrays $a and $b $a = [ '0' => [ 'name'=>'Apple', 'id' => 1 ], '1' => [ 'name'=>'Banana',
I've got a multiple student objects I want to write into with a CSV file containing their details. I've set each row of the CSV file to an array then was going
I try to learn more about the array methods and also working with objects. I come up with this dummy example that simulate an incoming data. const data = [
Trying to flatten a nested json response using Python databricks dataframe. I was able to flatten the "survey" struct successfully but getting errors when i try
I have a sample code: backgroundChange_btn.addEventListener(MouseEvent.CLICK, randomBG); function randomBG(e: MouseEvent): void { var Background = new Array
I got two nested index arrays, which I want to populate with values using a function. But on a conditional basis: if this, populate the first array; if that, po