logo
  • Home
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Contact

Java Algorithms, Problems & Programming Examples

Our list of Java examples cover a wide range of programming areas in Computer Science. This section contains list of topics on Algorithms, Problems and their Solutions using Java Programming Language. These topics cover a wide range of problems encountered not only in Computer Science but also in other areas of Engineering. Every example program on these topics include the description of the program, Java code as well as output of the program.

Here is the listing of broad categories of topics:

1. Java Programming Examples on Numerical Problems & Algorithms

This section deals with categories of Numerical Problems & Algorithms. They include Programs on finding Inverse of a Matrix, Programs on Gauss Jordan Elimination and Gauss Seidel Method, Programs on Bandwidth Reduction, Programs on Sparse Matrix, Programs on Determinants, Programs on Conjugate Method, Programs on Compute Local Optima, Programs on Fisher-Yates Algorithm, Programs on Fermat Factorization Algorithm, Programs on Horner Algorithm, Programs on Gaussian Elimination Algorithm, Programs on Pollard Rho Algorithm and Bin Packing Algorithm. The below link guides us through all the Category of Programs mentioned above.

  • https://www.sanfoundry.com/java-programming-examples-numerical-problems-algorithms/
  •  

    2. Java Programming Examples on Combinatorial Problems & Algorithms

    In this section, we have Programs on Combinatorial Problems & Algorithms. They include Programs on Quick sort, Merge Sort, Counting Sort and Stooge Sort, Programs on Interpolation Search Algorithm, Programs on Uniform Binary Search, Programs on Median and Selection, Programs on Permutation Algorithms, Programs on Combinations and Subsets, Programs on Generating Partitions, Programs on Random Edge Generation and Random Edge Selection Methods. The following link will guide you to the various programs that belong to the above mentioned categories.

  • https://www.sanfoundry.com/java-programming-examples-combinatorial-problems-algorithms/
  •  

    3. Java Programming Examples on Graph Problems & Algorithms

    The following section gives a collection of Java Programs which are categorized into various Categories like Programs on Graph connectivity using BFS & DFS, Program on Tarjan Algorithm, Topological Sorting, Programs on Dijkstra’s Algorithm using Set & Queue, Program on Bellmanford Algorithm, Program on Johnson’s Algorithm, Programs on Transitive Reduction, Programs on Chinese Postman Problems, Programs on Vertex Connectivity, Programs on Trees like Splay Tree, Threaded Binary Tree, Expression Tree & Fenwick Tree, Programs on Planarity Detection and Embedding. The link below guides us through all of these Programs.

  • https://www.sanfoundry.com/java-programming-examples-graph-problems-algorithms/
  •  

    4. Java Programming Examples on Hard Graph Problems & Algorithms

    The below categories deal with the Programs on Hard Graph Problems & Algorithms. They include Programs on Vertex Cover, Programs on finding Largest Independent Set Size using Binary & N-ary Tree, Program on Nearest Neighbour Algorithm, Program on Knight’s Tour Problem, Programs on DAG, Program on Greedy Coloring, Program on 4-Color Problem, Program on Vizing’s Theorem and Programs on Feedback Edge. The following link displays all these categories of Programs.

  • https://www.sanfoundry.com/java-programming-examples-hard-graph-problems-algorithms/
  •  

    5. Java Programming Examples on Computational Geometry Problems & Algorithms

    In this section, we have various Programs on Computational Geometry Problems & Algorithms. These include Programs on Robust Geometric Primitives, Programs on Determinants, Program on Delaunay Triangulation Algorithm, Programs on finding Convex Hull by implementing Jarvis March & Quick Hull Algorithm, Program on Fortune’s Sweep2 Code, Program on Lloyd’s Algorithm, Program on Bowyer-Watson Algorithm, Programs on Nearest Neighbor Search, Programs on finding Point Location Using Slab Method and Trapezoidal Decomposition, Programs on Intersection Detection, Programs on Bins, Program on Housdorff based Image Comparison, Programs on Sweepline Algorithm and Bresenham Line Algorithm. The link below illustrates all the Programs that are Categorized as above.

  • https://www.sanfoundry.com/java-programming-examples-computational-geometry-problems-algorithms/
  •  

    6. Java Programming Examples on Set & String Problems & Algorithms

    This section deals with categories of Set & String Problems & Algorithms. They include Programs on Set Cover, Programs on Exhaustive Search Algorithm and Heuristic Approach for Set Packing, Program on Naive String Matching, Program on Knuth-Morris-Pratt Algorithm, Program on Aho-Corasick Algorithm, Programs on Wagner and Fisher Algorithm for online String Matching, Program on Caesar Cypher, Program on MD5 Algorithm and Program on Longest Common SubSequence. The link below displays all the programs on Set & String Problems & Algorithms.

  • https://www.sanfoundry.com/java-programming-examples-set-string-problems-algorithms/
  •  

    7. Java Programming Examples on Data-Structures

    In this section, we have various Programs on Data-Structures. These include Programs on Hash Tables chaining with Singly Linked Lists, Program on Hash List, Program on Prefix Hash Tree, Program on Rolling Hash & Min Hash, Program on Pairing Heap, Program on Min Heap, Program on Max Heap, Program on Unrolled Linked List, Program on VList, Program on Dequeue, Program on Sorted List, Program on Array Deque, Programs on Vector, Programs on Stack, Program on Segment Tree, Program on Tree Set, Programs on Queue and Programs on Linked List. The link below guides us through all of these Programs.

  • https://www.sanfoundry.com/java-programming-examples-data-structures/
  •  

    8. Java Programming Examples on Collection API

    This section deals with categories of Collection API. They include Program on HashSet API, Program on LinkedList API, Program on TreeMap API, Program on EnumMap API, Program on Stack API, Program on PriorityQueue API, Program on LinkedBlockingDeque API, Program on SynchronosQueue API, Program on ArrayDeque API and Program on Attribute API. The following link will guide us through all the Programs mentioned above.

  • https://www.sanfoundry.com/java-programming-examples-collection-api/
  •  

    Wish you the best in your endeavor to learn and master Java Algorithms!

    Deep Dive @ Sanfoundry:

    1. Java Program to implement Longest Common Substring Algorithm
    2. Java Program to Implement Manacher Algorithm
    3. Java Program to Split into Pieces Wherever a Space is Found
    4. Best Reference Books – Java Programming, Data Structures & Algorithms
    5. Java Program to Perform Optimal Paranthesization Using Dynamic Programming
    6. C++ Programming Questions and Answers – Modifying Sequence Algorithms
    7. Java Questions & Answers – Collection Algorithms
    8. C++ Programming Questions and Answers – C Style Algorithms
    9. C++ Programming Questions and Answers – Nonmodifying Sequence Algorithms
    10. C++ Programming Questions and Answers – Standard Library Algorithms
    Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
    LinkedIn | Facebook | Twitter | Google+

    Best Careers

    Developer Tracks
    SAN Developer
    Linux Kernel Developer
    Linux Driver Developer
    Linux Network Developer

    Live Training Photos
    Mentoring
    Software Productivity
    GDB Assignment
    Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

    Best Trainings

    SAN I - Technology
    SAN II - Admin
    Linux Fundamentals
    Advanced C Training
    Linux-C Debugging
    System Programming
    Network Programming
    Linux Threads
    Kernel Programming
    Kernel Debugging
    Linux Device Drivers

    Best Reference Books

    Computer Science Books
    Algorithm & Programming Books
    Electronics Engineering Books
    Electrical Engineering Books
    Chemical Engineering Books
    Civil Engineering Books
    Mechanical Engineering Books
    Industrial Engineering Books
    Instrumentation Engg Books
    Metallurgical Engineering Books
    All Stream Best Books

    Questions and Answers

    1000 C Questions & Answers
    1000 C++ Questions & Answers
    1000 C# Questions & Answers
    1000 Java Questions & Answers
    1000 Linux Questions & Answers
    1000 Python Questions
    1000 PHP Questions & Answers
    1000 Hadoop Questions
    Cloud Computing Questions
    Computer Science Questions
    All Stream Questions & Answers

    India Internships

    Computer Science Internships
    Instrumentation Internships
    Electronics Internships
    Electrical Internships
    Mechanical Internships
    Industrial Internships
    Systems Internships
    Chemical Internships
    Civil Internships
    IT Internships
    All Stream Internships

    About Sanfoundry

    About Us
    Copyright
    TOS & Privacy
    Jobs
    Bangalore Training
    Online Training
    SAN Training
    Developers Track
    Mentoring Sessions
    Contact Us
    Sitemap
    © 2011 Sanfoundry