-
Insert String
Inserting New String Into Existing String Program 1 : Java Program to insert String into another String (Method 1) Program 2 : Java Program to insert String into another String (Method 2 : Using String.substring()) Program 3 : Java Program to insert String into another String (Method 3 : Using StringBuffer.insert())
-
Character Count
Print the total number of characters in a string
-
Even Words
Print Even length words within a String Program : Print even length words within String using Java
-
Heap Sort
Heap Sort in Java Heap sort is a comparison-based sorting technique which is based on Binary Heap Data Structure. Heap Sort is an optimization of selection sort where we first find the max (or min) element swapping it with the last (or first). and we repeat the same process for the remaining elements. In Heap…
-
Merge Sort
Merge Sort in Java The merge sort is a divide and conquer algorithm that divides the input array into equal subarrays and then merges back those subarrays into a sorted array. The process of merge sort is to divide the array into two equal subarrays, sort each subarray, and then merge the sorted subarrays back…
-
Quick Sort
Quick Sort in Java Quicksort algorithm is based on the divide and conquer approach where an array is divided into subarrays by selecting a pivot element.The pivot element is positioned in such a way that elements less than pivot are kept on the left side and elements greater than pivot are on the right side.The…
- March 2025
- January 2025
- December 2024
- November 2024
- April 2024
- December 2023
- November 2023
- October 2023
- August 2023
anagramstring (1) android (2) array (2) arraycomparator (1) arrayssort (1) break (1) builtinexception (1) catch (1) checkedexception (1) compiletimeexception (1) compiletimerror (1) continue (1) customexception (1) decisionmaking (2) decisionmakingstatements (2) dowhileloop (1) error (1) exception (1) exceptionhandling (1) finally (1) finallyblock (1) forloop (2) goto (1) if (1) ifelse (1) ifelseif (1) ifelseifladder (1) iteration (2) java (41) javaarray (1) javabreak (1) javacontinue (1) javadowhileloop (1) javaexception (1) javaexceptionhandling (1) javaforloop (1) javagoto (1) javahashmap (1) javaif (1) javaifelse (1) javaifelseif (1) javaifelseifladder (1) javaiteration (1) javajumpstatement (1) javajumpstatements (2) java keyword (4) javakeyword (2) javakeywords (2) javalabel (1) javaloop (1) javaloops (2) javanestedif (1) javanestedinnerclass (1) java oops (2) javapalindrome (1) javaprogram (30) javaprogramming (22) javasearching (2) javasorting (6) javastaticnestedclass (1) javastring (7) javastringpalindrome (1) javastringprogram (6) javastringsort (1) javaswitchcase (2) javawhileloop (1) jump (1) jumpstatement (1) jumpstatements (2) keyword (5) label (1) logicalerror (1) loop (3) mergesort (2) nestedif (1) nestedinnerclass (1) oops (2) palindrome (2) recursion (2) runtimeerror (1) runtimeexception (1) searching (2) set (1) sort (1) sorting (7) staticnestedclass (1) string (7) stringbuilder (2) stringpalindrome (1) switchcase (2) syntaxerror (1) throw (1) throws (1) try (1) try-catch (1) trycatch (1) trycatchblock (1) uncheckedexception (1) userdefinedexception (1) whileloop (1)