I have an array in PHP and I need to sort by a nested array inside of the array... Here is my array: Array ( [0] => Array ( [project_
I'm trying to use array_sum() on columns within columns of a multidimensional array. For eg: I have an array that looks like this: $array = [ [['value' =>
I am using php 7.1. I have seen that to eliminate the duplicate elements it is enough with this array_unique($array, SORT_REGULAR); I've also seen this work ar
I have an array looking like: array(480) { [0]=> array(2) { ["tag_id"]=> string(4) "6291" ["az"]=> int(5) } [
I have been trying to figure out how to make it so there is two 2D arrays, each containing a number of arrays that have x and y coordinates for set objects of t
I have a 2D array: var array = [["a", "b", "c"],["a", "b", "c"],["a", "b", "c"]] I want to delete an entire column of this array (i.e. delete every third ele
I have a multidimensional array that I am trying to search for a specific value (url) and then retrieve an another value in the same row (value). I also need to
As soon as i enter the while loop the program throws Index out of range exception, without getting rows and columns value. getint is a method to get user input
I have an array called $works which looks like this: [ 'type' => [1, 5], 'description' => [2, 6], 'hours' => [3, 7], 'amount' => [4,
Similar to this question: finding and replacing elements in a list (python) but with a multi-dimensional array. For example, I want to replace all the N's with
Array is 2 dimensional 10x10 gameBoard Code I made for array: int gameBoardLength = gameBoard.length; System.out.print(" "); //two spaces to align t
I have created a multidimensional array in JavaScript and I want to find the exact index of specific value. That value will be user input. var array = []; var k
Yet another topic with multidimensional array and Redim Preserve, I know. I read a lot of them but still can not understand why my code is not working. I kwow
I was doing an assessment for job interview. One of the 3 problems that I had to solve in an hour was finding the maximal value in a grid where you traverse it
I would like to take an array like this and combine it into 1 single array. array (size=2) 0 => array (size=10) 0 => string '1'
How can be an array of double (1D) stored using protocol buffer? What about multi-dimensional (2D or 3D) dense arrays?
I can't seem to convert it into an ndarray in numpy, i've read http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html but it didn't show me how
How can I initialize a multidimensional List statically? This works: List<List<Integer>> list = new ArrayList<List<Integer>>(); But
This may be a question for a different forum, if so please let me know. I noticed that only 14 people follow the wavelet tag. I've here an elegant way of exten
So everything in my code works so far, but I don't know why the checkWinner function doesn't work. In my Bool checkWinner function, I used bool. When I call th