
Master Java logical programming with numbers, palindrome checks, strings, recursion, arrays and matrices, patterns, and essential sorting and searching algorithms including bubble sort, quicksort, insertion sort, linear and binary search.
Explore how this course uses short and to the point lectures with hands-on assignments. Install Java and IDE, join QA sections, and practice with new programs.
Download all the completed projects or clone the repository on GitHub to run, refer to, and explore the Java logical programs and data structures for beginners.
Learn to build a Java program that reads an integer, validates it as positive, then prints even or odd using the remainder operator, and demonstrates illegal argument handling.
Create a Java class credit card issuer that validates a credit score and issues silver, gold, or platinum cards. Use 400-600 silver, 600-800 gold, 800-850 platinum; invalid for others.
Learn to compute the sum of digits in a number by reusing the digit extractor logic, accumulating digits with a sum variable in a loop, and printing the result.
Learn to compute the sum of prime digits in a number by checking digits 2, 3, 5, and 7 in a Java program, building on a sum of digits template.
Identify a duck number in Java by scanning digits for an interior zero, using a boolean flag and early exit to print if the number is a duck or not.
Learn a Java technique to reverse an integer by extracting digits and building the reversed number in a result variable.
Learn how to determine if a number is a palindrome by reversing digits and comparing with the original, using a number reverser and palindrome checker in Java.
Learn the inbuilt Java approach to convert integers to binary using Integer.toBinaryString, run examples with 25 and 9 to display binary representations.
Implement a Java Fibonacci series generator that prints a user-specified number of terms starting with zero and one by summing the previous two numbers.
Determine special two-digit numbers by extracting the digits, summing them, multiplying them, and checking if the sum plus the product equals the original number; no loop required.
Reverse a string by starting at the end and appending each character to an output string in a Java for loop inside a String Reverser class.
Reverse a string in Java using the StringBuffer reverse method, compare it with a for loop approach, and apply the concept to palindrome examples like malla a alum.
Count words in a string by scanning characters and counting whitespace in Java. The lecture guides reading input, looping through the string, and printing the final word count.
Learn to determine if the first string ends with the second string by comparing two strings from their ends, counting matches, and printing yes or no.
Count each character's occurrences using an ASCII index in a 256-length array, then identify the index with the maximum value to reveal the maximum occurring character.
Develop a Java string search that detects the substring gold in input by converting to lowercase and using nested loops with a found flag to print when gold is found.
Learn to remove vowels from a string in Java by iterating characters and building a non-vowel output with a string buffer, or by using a replace all regex approach.
Recursion is a function calling itself, shown with factorials: factorial n = n * factorial(n-1). Stop at the base case zero, returning one, to avoid infinite loops.
Implement a Java recursion example that computes power with a static power(base, exponent) method, returning base multiplied by power(base, exponent-1) until exponent reaches one.
Identify mini peaks by checking each array element against its left and right neighbors, ensuring it is greater than both, and print those elements.
Create a Java program to find the min and max in an array by initializing them and using a for loop. The example shows max 125 and min 3.
Learn to compute the matrix transpose by swapping rows and columns, for both square and non-square matrices. Implement the logic in Java using a transposed matrix and display the results.
Check if a given square matrix is symmetric by computing the transpose and comparing it to the original; a boolean flag signals symmetry and prints symmetric or asymmetric.
Discover two variations of the half pyramid right triangle pattern in Java: print the same number per line using i, and print in reverse order by decrementing.
Explore how to print a mirrored right triangle in Java using nested for loops, spaces, and conditional printing to produce a right-aligned number pattern.
Print a reverse left Pascal's triangle in Java using nested for loops to print spaces and stars, highlighting the mirrored pattern and dynamic row printing.
Explore time complexity and big O notation to choose the fastest algorithm, comparing worst, best, and average cases while analyzing inputs like linear search in arrays.
For beginners, learn how constant time complexity (O(1)) remains unaffected by input, yielding the fastest algorithms, illustrated by array index access.
Explore quadratic time complexity, where runtime grows with the square of input size, illustrated by nested loops and bubble sort that sorts an array using adjacent swaps.
Enhance bubble sort by stopping early when no swaps occur, replacing the outer for loop with a while loop that ends as soon as the inner loop has no swaps.
Demonstrates insertion sort by progressively inserting each element into the sorted left side, using two loops and swaps when left elements are greater, yielding O(n^2) time.
Implement a recursive binary search on an array by adapting the nonrecursive version, using mid, low, high, and a base case to return index or -1, then test in main.
Explore how data structures store, organize, and access data in memory to solve problems. Understand arrays, linked lists, stacks, and queues as choices for different scenarios.
All source code is available for download
Responsive Instructor - All questions answered within 24 hours
Professional video and audio recordings (check the free previews)
Are you a College Student with Core Java background who is interested in improving your programming skills or overcome the fear of coding , this course is for you.This course is also for those students who have completed my Core Java Made Easy Course.
You will start working on simple programs and move using numeric types
Print Digits in a number
Sum of Digits in a number
Check if a number is palindrome or not
Convert integer to binary and visa versa
Check if a given number is Special and Perfect Number
and More
Work with Strings:
Reverse a String in different ways
Count the words in given text
Find words,Remove Vowels
Find Duplicates,Replace Next Character
and More
Understand Recursion and write programs using it
Write programs using Arrays and Matrices
Sum of positive and negative numbers in a array
Find min and max element in a array
Reverse elements in a array
Check if a given matrix is a sparse matrix
Do Matrix Transpose
Swap Rows and Columns
Work with patterns:
Print Right Triangle
Print Inverted Right Triangle
Mirrored Right Triangle
Understand Time and Space Complexity
Implement Bubble Sort and enhance it
Implement Selection Sort
Implement Linear Search
Implement Binary Search using recursive and non recursive ways
Data Structures:
What are Data Structures
Different Types of Data Structures
Linked Lists:
Create a LinkedList
Insert at the end
Insert at the beginning
Insert in the middle
Delete at different positions
Traverse
Find Nth Node
Check if list has a loop
Reverse a List
Work with Double LinkedList
Stacks:
Create a stack using an array
Create a stack using a List
Push,Pop,Peek
Reverse a String using a stack
Check if symbols are balanced
Queues:
Create a Queue using an Array
Create a Queue using a List
enQueue, deQueue
Trees:
Create a Tree
Perform PreOrder,InOrder,PostOrder traversals
max, search, find and findMin