{"id":25098493,"url":"https://github.com/kaviarasan-r/pattern-programming-java","last_synced_at":"2025-04-02T04:11:07.706Z","repository":{"id":170241707,"uuid":"605211431","full_name":"Kaviarasan-R/pattern-programming-java","owner":"Kaviarasan-R","description":"Java pattern program enhances the coding skill, logic, and looping concepts. It is mostly asked in Java interview to check the logic and thinking of the programmer. We can print a Java pattern program in different designs.","archived":false,"fork":false,"pushed_at":"2023-02-22T17:30:39.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T18:51:48.265Z","etag":null,"topics":["java","patterns","programming"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kaviarasan-R.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-22T17:23:23.000Z","updated_at":"2023-09-16T06:53:03.000Z","dependencies_parsed_at":"2023-07-05T02:15:32.416Z","dependency_job_id":null,"html_url":"https://github.com/Kaviarasan-R/pattern-programming-java","commit_stats":null,"previous_names":["kaviarasan-r/pattern-programming","kaviarasan-r/pattern-programming-java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaviarasan-R%2Fpattern-programming-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaviarasan-R%2Fpattern-programming-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaviarasan-R%2Fpattern-programming-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaviarasan-R%2Fpattern-programming-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kaviarasan-R","download_url":"https://codeload.github.com/Kaviarasan-R/pattern-programming-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246752656,"owners_count":20827987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","patterns","programming"],"created_at":"2025-02-07T18:31:45.386Z","updated_at":"2025-04-02T04:11:07.700Z","avatar_url":"https://github.com/Kaviarasan-R.png","language":"Java","readme":"\u003ch2\u003e Hi, I'm Kavi Arasan! \u003cimg src=\"https://media.giphy.com/media/mGcNjsfWAjY5AEZNw6/giphy.gif\" width=\"50\"\u003e\u003c/h2\u003e\n\u003cp\u003e\u003cem\u003eStudent at \u003ca href=\"http://www.hit.edu.in/\"\u003eHindusthan Institute\u003c/a\u003e\u003cimg src=\"https://media.giphy.com/media/fYSnHlufseco8Fh93Z/giphy.gif\" width=\"30\"\u003e\u003c/br\u003eWorking as a freelancer \u003cimg src=\"https://media.giphy.com/media/WUlplcMpOCEmTGBtBW/giphy.gif\" width=\"30\"\u003e \n\u003c/em\u003e\u003c/p\u003e\n\n[![Twitter: Kavi R](https://img.shields.io/twitter/follow/rkavi2679?style=social)](https://twitter.com/rkavi267)\n[![Linkedin: Kavi](https://img.shields.io/badge/kavi-blue?style=flat-square\u0026logo=Linkedin\u0026logoColor=white\u0026link=https://www.linkedin.com/in/kaviarasan-r/)](https://www.linkedin.com/in/kaviarasan-r/)\n[![GitHub Kavi](https://img.shields.io/github/followers/Kaviarasan-R?style=social)](https://github.com/Kaviarasan-R)\n\nPattern Questions\n\nPrint these patterns using loops:\n\n```text\n1.  *****\n    *****\n    *****\n    *****\n    *****\n    \n2.  *\n    **\n    ***\n    ****\n    *****\n    \n3.  *****\n    ****\n    ***\n    **\n    *\n    \n4.  1\n    1 2\n    1 2 3\n    1 2 3 4\n    1 2 3 4 5\n    \n5.  *\n    **\n    ***\n    ****\n    *****\n    ****\n    ***\n    **\n    *\n    \n6.       *\n        **\n       ***\n      ****\n     *****\n     \n7.   *****\n      ****\n       ***\n        **\n         *\n         \n8.      *\n       ***\n      *****\n     *******\n    *********\n    \n9.  *********\n     *******\n      *****\n       ***\n        *\n        \n10.      *\n        * *\n       * * *\n      * * * *\n     * * * * *\n     \n11.  * * * * *\n      * * * *\n       * * *\n        * *\n         *\n         \n12.  * * * * *\n      * * * *\n       * * *\n        * *\n         *\n         *\n        * *\n       * * *\n      * * * *\n     * * * * *\n     \n13.      *\n        * *\n       *   *\n      *     *\n     *********\n     \n14.  *********\n      *     *\n       *   *\n        * *\n         *\n         \n15.      *\n        * *\n       *   *\n      *     *\n     *       *\n      *     *\n       *   *\n        * *\n         *\n         \n16.           1\n            1   1\n          1   2   1\n        1   3   3   1\n      1   4   6   4   1\n      \n17.      1\n        212\n       32123\n      4321234\n       32123\n        212\n         1\n         \n18.   **********\n      ****  ****\n      ***    ***\n      **      **\n      *        *\n      *        *\n      **      **\n      ***    ***\n      ****  ****\n      **********\n      \n19.    *        *\n       **      **\n       ***    ***\n       ****  ****\n       **********\n       ****  ****\n       ***    ***\n       **      **\n       *        *\n       \n20.    ****\n       *  *\n       *  *\n       *  *\n       ****\n       \n21.    1\n       2  3\n       4  5  6\n       7  8  9  10\n       11 12 13 14 15\n       \n22.    1\n       0 1\n       1 0 1\n       0 1 0 1\n       1 0 1 0 1\n       \n23.        *      *     --\u003e only work for input 3\n         *   *  *   *\n       *      *      *\n       \n24.    *        *\n       **      **\n       * *    * *\n       *  *  *  *\n       *   **   *\n       *   **   *\n       *  *  *  *\n       * *    * *\n       **      **\n       *        *\n       \n25.       *****\n         *   *\n        *   *\n       *   *\n      *****\n      \n26.   1 1 1 1 1 1\n      2 2 2 2 2\n      3 3 3 3\n      4 4 4\n      5 5\n      6\n      \n27.   1 2 3 4  17 18 19 20      --\u003e only work for input 20\n        5 6 7  14 15 16\n          8 9  12 13\n            10 11\n            \n28.      *\n        * *\n       * * *\n      * * * *\n     * * * * *\n      * * * *\n       * * *\n        * *\n         *\n       \n29.         1\n          2 1 2\n        3 2 1 2 3\n      4 3 2 1 2 3 4\n    5 4 3 2 1 2 3 4 5\n    \n30.      4 4 4 4 4 4 4   \n         4 3 3 3 3 3 4   \n         4 3 2 2 2 3 4   \n         4 3 2 1 2 3 4   \n         4 3 2 2 2 3 4   \n         4 3 3 3 3 3 4   \n         4 4 4 4 4 4 4   \n         \n31.    E\n       D E\n       C D E\n       B C D E\n       A B C D E\n       \n32.    a\n       B c\n       D e F\n       g H i J\n       k L m N o\n     \n33.    E D C B A\n       D C B A\n       C B A\n       B A\n       A\n       \n34.    1      1\n       12    21\n       123  321\n       12344321\n       \n35.     1       1\n         2     2 \n          3   3  \n           4 4   \n            5    \n           4 4   \n          3   3  \n         2     2 \n        1       1\n\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaviarasan-r%2Fpattern-programming-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaviarasan-r%2Fpattern-programming-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaviarasan-r%2Fpattern-programming-java/lists"}