Clock time

public class test
{
    public static void main(String[] args)
    {
        for (int minute = 0; minute < 60; minute++)
        {
            for (int hour = 1; hour < 12; hour++)
            {
                System.out.printf("%d:%02d ", hour, minute);
            }
            System.out.println();
        }
    }
}

algorithm

public class test
{
    public static void main(String[] args)
    {
        // Please do not modify this line.
        int numberOfRows = 5;

        for(int row = 1; row <= numberOfRows;row++)
        {
          for(int column = 1; column <= row;column++)
          {
            System.out.printf("[]");
          }
          System.out.println();
        }
    }
}