About 1,390,000 results
Open links in new tab
  1. Java two-dimensional array filled with pattern - Stack Overflow

    Aug 27, 2018 · how can I fill two-dimensional array of given "size" to get this output: N=1 000 010 000 N=2 0000 0110 0110 0000 N=3 00000 01110 01210 01110 0...

  2. Two Dimensional Pattern Matching with Wildcards in Numpy …

    Aug 30, 2018 · This function takes an input_array, a pattern and a function that lets you identify the wildcard. Here I have used np.nan as wildcard but it could be anything, giving that you can …

  3. Python | Using 2D arrays/lists the right way - GeeksforGeeks

    Jun 20, 2024 · Using 2D arrays/lists the right way involves understanding the structure, accessing elements, and efficiently manipulating data in a two-dimensional grid. When working with …

  4. python - How can I check if one two-dimensional NumPy array contains a ...

    >>> (windows == match_array).all(axis=(2,3)).any() True To find the indices of where the top-left corner of the sub-array matches, you can write: >>> (windows == …

  5. Two Dimensional Array In Java - JavaTutoring

    Apr 15, 2025 · Two Dimensional Array in Java Programming – In this article, we will explain all the various methods used to explain the two-dimensional array in Java programming with sample …

  6. Java Multi-Dimensional Arrays - GeeksforGeeks

    Apr 23, 2025 · Two-dimensional array is the simplest form of a multidimensional array. A 2-D array can be seen as an array storing multiple 1-D array for easier understanding. Syntax …

  7. Print a 2D Array or Matrix in Java - GeeksforGeeks

    Mar 24, 2025 · In this article we cover different methods to print 2D Array. When we print each element of the 2D array we have to iterate each element so the minimum time complexity is O …

  8. c++ - Match Multiple Patterns in 2D Array and Return (x,y) …

    Dec 11, 2020 · We are given 2 arrays: 1 array representing the image and containing the patterns to be match and another one representing the pattern. Each image is represented as an vector …

  9. c++ - search a pattern in a 2D matrix - Stack Overflow

    Oct 15, 2014 · You have to find a string in two-dimensional array. The input contains 2-D array of characters and given string. You can move in one of eight directions . The output contains …

  10. Identifying quad patterns in a two-dimensional array

    I've had a look at some two-dimensional array pattern matching algorithms, which all seem to flatten the 2D array into 1D, then use a 1D text searching algorithm (e.g. KMP) to identify any …

Refresh