DEV Community

Cover image for Day 08: Unveiling the Magic of INTRODUCTION in Java, C++, Python, and Kotlin!
Nitin-bhatt46
Nitin-bhatt46

Posted on

1

Day 08: Unveiling the Magic of INTRODUCTION in Java, C++, Python, and Kotlin!

DAY - 08

For more Tech content Join us on linkedin click here

All the code snippets in this journey are available on my GitHub repository. πŸ“‚ Feel free to explore and collaborate: Git Repository

Today’s Learning :-

Pattern Problem

First Pattern: ( pattern_4 )

   4 4 4 4 4 4
   4 4 4 4 4 4
   4 4 4 4 4 4  
   4 4 4 4 4 4
   4 4 4 4 4 4 
Enter fullscreen mode Exit fullscreen mode

Second Pattern: ( sq_pattern )

   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
Enter fullscreen mode Exit fullscreen mode

Third Pattern: ( cu_pattern )

1 8 27 64 125 216
1 8 27 64 125 216
1 8 27 64 125 216
1 8 27 64 125 216
1 8 27 64 125 216
Enter fullscreen mode Exit fullscreen mode

Fourth Pattern: ( alpha_seq )

F G H I J K

F G H I J K
F G H I J K
F G H I J K
F G H I J K

First Pattern: ( tri_num )

 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
Enter fullscreen mode Exit fullscreen mode

Second Pattern: ( tri_alpha )

A
A B
A B C
A B C D
A B C D E
Enter fullscreen mode Exit fullscreen mode

Third Pattern: ( tri_num_2 )

   10
   10 11
   10 11 12
   10 11 12 13
   10 11 12 13 14
   10 11 12 13 14 15
Enter fullscreen mode Exit fullscreen mode

Feel free to reshare this post to enhance awareness and understanding of these fundamental concepts.
Code snippets are in Git repository.

πŸ™ Thank you all for your time and support! πŸ™
Don't forget to catch me daily at 10:30 Am (Monday to Friday) for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! πŸ’»βœ¨

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry πŸ‘€

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more