Search:

Type: Posts; User: godmars20

Search: Search took 0.10 seconds.

  1. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    Unfortunately no.
  2. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    Given a square two-dimensional array (the number of rows is equal to the number of columns (which contains Boolean values ​​-
    true / false.
    We will define: true region in the array (true region),...
  3. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    Sorry I tried my best.
    You understood correctly.
  4. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    110
    110
    000

    this two dimensional array has 1 group

    010
    010
    001
  5. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    "Is that a two dimensional array? Do the number of rows need to be the same as the number of columns?"
    yes it is two dimensional array, the numbers and rows are the same.

    "Can you define what a...
  6. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    everything is useful except the finals.
    I would like to know how to build a recursive method that receives an matrix array and computes, without loops, how many groups of 1 it contains, group does...
  7. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    //1s.
    //************************************************** ******************
    public class Maze
    {
    private boolean [][] booleanGrid = { {true,true,true},
    {false,false,false},
    {true,true,false},...
  8. Re: Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    Thank you for the reply.
    //1s.
    //********************************************************************
    public class Maze
    {
    private boolean [][] booleanGrid = { {true,true,true},
    ...
  9. Hello, I need to build a recursive method, without using loops, that will say how many groups of truth's there are

    The method will receive a matrix array of truth and false (the array can be changed by the method), a group is the same figures that are by the sides and not across.
    for example 1 equals truth and...
Results 1 to 9 of 9