Number patterns set 4 Number patterns set 4- Post author:Swapnil Jaiswal Post published:November 7, 2022 Post category:Blog / Programs Post comments:0 Comments When we talk about the interview questions apart from theoretical part coding skill is also important. If you have been following our patterns series then you are on the right track of cracking the coding interview.In this series we have learn how to print star patterns , English alphabet patterns and character patterns. Now time to print some number patterns.Below you will find the code to print different types of number pattern using Java , C++ , Python and JavaScript.In this blog we have shared set 4 of 50+ number patterns, you can find all number patterns here. Here are the some quick links for more patterns Number patternsStar PatternsCharacter PatternsStar pattern set 2Star pattern set 3Click on the pattern given below and you will get redirected to the code. 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 9 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 7 7 7 7 7 7 7 6 6 6 6 6 6 5 5 5 5 5 4 4 4 4 3 3 3 2 2 1 1 12 123 1234 12345 1234 123 12 1 Pattern 1 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 9 Code for pattern 1 Java C++ Python JavaScript Java C++ Python JavaScript Pattern 2 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 7 7 7 7 7 7 7 6 6 6 6 6 6 5 5 5 5 5 4 4 4 4 3 3 3 2 2 1 Code for pattern 2 Java C++ Python JavaScript Java C++ Python JavaScript Pattern 3 1 12 123 1234 12345 1234 123 12 1 Code for pattern 3 Java C++ Python JavaScript Java C++ Python JavaScript You Might Also Like Retrieve FieldSet Using Package.xml November 7, 2024 Number patterns set 3 November 7, 2022 Method does not exist or incorrect signature December 29, 2022 Quickly Change icon of your LWC salesforce. March 5, 2022 Trigger: Access and update child value on Parent January 4, 2025 EPAM Salesforce developer interview questions April 29, 2025 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.