Web appOpen in Telegram

PostSubarray

26 June 2025
<
</> ᴍᴜᴋᴇsʜ </>
Subarray public class subArr { public static void subArray(int numbers[]) { for (int i = 0; i < numbers.length; i++) { int start = i; // subarr for (int j = i; j < numbers.length; j++) { int end = j; // System.out.print(numbers[j]); for (int k = start; k <= end; k++) { System.out.print(+numbers[k] + " "); } System.out.println(); } System.out.println(); } } public static void main(String[] args) { int numbers[] = { 2, 4, 6, 8, 10 }; subArray(numbers); } } Output: 2 2 4 2 4 6 2 4 6 8 2 4 6 8 10 4 4 6 4 6 8 4 6 8 10 6 6 8 6 8 10 8 8 10 10
4 · 1.7K ·

Nearby in the feed

<</> ᴍᴜᴋᴇsʜ </>Diamond Pattern of number n public class diamond { public static void diamond_pattern(int n) { for (int i = 1; i <= n; i++) { // blank space for (int j = 1; j <<</> ᴍᴜᴋᴇsʜ </>Reverse an array public class reverseArr { public static void reverse(int numbers[]) { int start = 0; int last = numbers.length - 1; while (start < last) { int
this message
<</> ᴍᴜᴋᴇsʜ </>Maximum Subarray sum using Kadane's Algorithm. import java.util.*; public class Kadane { public static void kaddanelgoSum(int numbers[]) { int currsum = 0; int रराम सियाराम सियाराम जय जय राम 🙏 तुम साथ हो जो मेरे, किस चीज की कमी है ।Poll
JJava Codes Basic to AdvanceJava Codes Basic to Advance@Java_Codes_Pro · channel · Tech
1 988subscribers213posts in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count