VietMX's Blog
  • C++
  • JAVA
  • JS
  • NODEJS
  • PYTHON
  • TOOLS
  • BLOCKCHAIN
  • AI
  • EBOOK
  • ACM
  • ALGORITHM
  • Q&A

JAVA

Java Program to Find the Peak Element of an Array O(n) time (Naive Method)

2021 VietMX 0

This is a Java Program to find peak element of an array. A peak element of an array is that element which is not smaller […]

Java Program to Find the Minimum Element of a Rotated Sorted Array using Binary Search approach

2021 VietMX 0

This is a Java Program to find minimum element of a rotated sorted array. The following program uses a binary search approach to find the […]

Java Program to Find Maximum Element in an Array using Binary Search

2021 VietMX 0

This is a java program to find the maximum element using binary search technique. Binary search requires sequence to be sorted. We return the last […]

Java Program to Find Minimum Element in an Array using Linear Search

2021 VietMX 0

This is a java program to find the minimum element of the sequence using the technique of linear search. First we assign min equal to […]

Java Program to Perform Uniform Binary Search

2021 VietMX 0

This is a java program to perform uniform binary search technique. It uses a lookup table to update a single array index, rather than taking […]

Java Program to Search Number Using Divide and Conquer with the Aid of Fibonacci Numbers

2021 VietMX 0

This is a java program to search a number using Fibonacci Sequence. The Fibonacci search technique is a method of searching a sorted array using […]

Java Program to Find kth Largest Element in a Sequence

2021 VietMX 0

This is a java program to find kth largest element form the given sequence of numbers. We find the kth largest by sorting the sequence […]

Java Program to Implement Interpolation Search Algorithm

2021 VietMX 0

This is a Java Program to Implement Interpolation Search Algorithm. Interpolation search (sometimes referred to as extrapolation search) is an algorithm for searching for a […]

Java Program to Perform Searching Based on Locality of Reference

2021 VietMX 0

This is a java program to perform searching based on locality of refernce. The Locality of Reference principle says that if an element of a […]

Java Program to Implement Multi-Threaded Version of Binary Search Tree

2021 VietMX 0

This is a Java Program to implement Threaded Binary Tree. A threaded binary tree makes it possible to traverse the values in the binary tree […]

Java Program to Search for an Element in a Binary Search Tree

2021 VietMX 0

This is a java program to search an element using Binary Search Tree. A regular tree traversal algorithm is implemented to search an element. We […]

Java Program to Implement a Binary Search Algorithm for a Specific Search Sequence

2021 VietMX 0

This is a java program to search sequence using binary search. This is a simple extension of binary search algorithm to find an element. Here […]

Java Program to Perform Searching Using Self-Organizing Lists

2021 VietMX 0

This is a java program to search an element using Self Organizing lists. A self-organizing list is a list that reorders its elements based on […]

Java Program to Compare Binary and Sequential Search

2021 VietMX 0

This is a java program to compare Binary Search and Linear Search algorithms. Following class provides the time required to search an element for both […]

Java Program to Implement Ternary Search Algorithm

2021 VietMX 0

This is a Java Program to Implement Ternary Search Algorithm. A ternary search algorithm is a technique in computer science for finding the minimum or […]

Java Program to Implement Interpolation Search Algorithm

2021 VietMX 0

This is a Java Program to Implement Interpolation Search Algorithm. Interpolation search (sometimes referred to as extrapolation search) is an algorithm for searching for a […]

Java Program to Perform Stooge Sort

2021 VietMX 0

This is a java program to implement Stooge sort algorithm. Here is the source code of the Java Program to Perform Stooge Sort. The Java […]

Java Program to Perform the Shaker Sort

2021 VietMX 0

This is a java program to implement Shaker Sort algorithm. Here is the source code of the Java Program to Perform the Shaker Sort. The […]

Java Program to Perform the Sorting Using Counting Sort

2021 VietMX 0

This is a java program to sort the numbers using the Counting Sort Technique. In computer science, counting sort is an algorithm for sorting a […]

Java Program to Implement Counting Sort

2021 VietMX 0

This is a Java Program to implement Counting Sort Algorithm. This program is to sort a list of numbers.Here is the source code of the […]

Posts navigation

« 1 … 18 19 20 … 71 »

SEARCH

  • The Stern-Brocot tree and Farey sequences

    2021 0
  • 15 Puzzle Game: Existence Of The Solution

    2021 0
  • Josephus Problem

    2021 0
  • Optimal schedule of jobs given their deadlines and durations

    2021 0
  • Scheduling jobs on two machines

    2021 0
  • Scheduling jobs on one machine

    2021 0
  • Sprague-Grundy theorem

    2021 0
  • Games on arbitrary graphs

    2021 0
  • K-th order statistic in O(N)

    2021 0
  • Search the subarray with the maximum/minimum sum

    2021 0
  • Longest increasing subsequence

    2021 0
  • Range Minimum Query

    2021 0
  • Heavy-light decomposition

    2021 0
  • 2 – SAT

    2021 0
  • Paint the edges of the tree

    2021 1
  • Edge connectivity / Vertex connectivity

    2021 0
  • Topological Sorting

    2021 0
  • Kuhn’s Algorithm for Maximum Bipartite Matching

    2021 0

Algorithm Array Collections Convert Converting Custom Data Structure Deep Learning Dictionary File Finding Generate Graph Guide HttpClient Implement InputStream Introduction Jackson Java JavaScript JPA JUnit List Machine Learning MongoDB New Year Node.js OAuth2 Perform Program Python REST API Set Spring Spring Boot Spring Cloud Spring Data Spring MVC Spring Security Stream String Strings Tree WebFlux

  • ACM
  • AI
  • ALGORITHM
  • BLOCKCHAIN
  • C/C++
  • EBOOK
  • JAVA
  • JS
  • NODEJS
  • PYTHON
  • TOOLS
CONTACT INFORMATION
  • Email: maixuanviet.com@gmail.com
  • Skype: maixuanviet.com@outlook.com
  • Linkein: linkedin.com/in/maixuanviet
  • HackerRank: hackerrank.com/vietmx
  • Github: github.com/vietmx
  • Tiktok: tiktok.com/@maixuanviet.com

DMCA.com Protection Status