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

JAVA

Java Program to Implement the Binary Counting Method to Generate Subsets of a Set

2021 VietMX 0

This is a java program to generate and print all possible subsets using the method of Binary Counting method. The generations of subsets are done […]

Java Program to Generate All Subsets of a Given Set in the Lexico Graphic Order

2021 VietMX 0

This is a java program to generate and print all the subsets of a given set as per lexicographical order, here we follow the numerical […]

Java Program to Generate All Subsets of a Given Set in the Gray Code Order

2021 VietMX 0

This is a java program to generate and print all the subsets using the Gray Code Order. The reflected binary code, also known as Gray […]

Java Program to Generate a Sequence of N Characters for a Given Specific Case

2021 VietMX 0

This is a java program to generate sequence of N characters randomly. Here is the source code of the Java Program to Generate a Sequence […]

Java Program to Generate All Possible Combinations of a Given List of Numbers

2021 VietMX 0

This is a java program to generate and print all the permutation of the Numbers. User first enters the element in the set and then […]

Java Program to Implement Heap’s Algorithm for Permutation of N Numbers

2021 VietMX 0

This is a java program to find permutation of N numbers using Heap’s Algorithm. Heap’s algorithm is an algorithm used for generating all possible permutations […]

Java Program to Permute All Letters of an Input String

2021 VietMX 0

This is the Java Program to Print all Possible Permutations of a String.Problem Description Given a string, print all the different words that can be […]

Java Program to Implement the Alexander Bogomolny’s UnOrdered Permutation Algorithm for Elements From 1 to N

2021 VietMX 0

This is a java program to implement Alexander Bogomolny’s permutation algorithm. This version of program computes all possible permutations of numbers from 1 to N […]

Java Program to Find the Mode in a Data Set

2021 VietMX 0

This is a java program to find the mode of a set. The mode of a set is defined as the highest occurring element in […]

Java Program to Find kth Smallest Element by the Method of Partitioning the Array

2021 VietMX 0

This is a java program to find kth smallest element form the given sequence of numbers. This could be solved by using Quick sort algorithm, […]

Java Program to Find ith Largest Number from a Given List Using Order-Statistic Algorithm

2021 VietMX 0

This is a java program to find the ith largest element from a list using order-statistic algorithm. This version of the code uses quick sort […]

Java Program to Find Median of Elements where Elements are Stored in 2 Different Arrays

2021 VietMX 0

This is a java program to find the median from two different array. To do so we merge the two lists and then sort them, […]

Java Program to Find k Numbers Closest to Median of S, Where S is a Set of n Numbers

2021 VietMX 0

This is a java program to find K such elements given by users, such that those numbers are closer to the median of the given […]

Java Program to Implement Quick Sort with Given Complexity Constraint

2021 VietMX 0

This is a java program to perform quick sort with complexity constraint of time less than n^2. Here is the source code of the Java […]

Java Program to Find Second Smallest of n Elements with Given Complexity Constraint

2021 VietMX 0

This is a java program to find the second smallest element with given complexity. Complexity here is minimum space constraints. Inplace sorting and returning second […]

Java Program to Find the Median of two Sorted Arrays using Binary Search Approach

2021 VietMX 0

This is a Java Program to find median of two sorted arrays using binary search approach. In probability theory and statistics, a median is described […]

Java Program to find the number of occurrences of a given number using Binary Search approach

2021 VietMX 0

This is a Java Program to find number of occurences of a given number using binary search approach. The time complexity of the following program […]

Java Program to find the maximum subarray sum using Binary Search approach

2021 VietMX 0

Problem Description Given an array of integers, find the contiguous subarray, whose sum of the elements, is maximum.Example: Array = [2 1 3 5 -2 […]

Java Program to find the maximum subarray sum O(n^2) time(naive method)

2021 VietMX 0

This is a Java Program to find maximum subarray sum of an array. A subarray is a continuous portion of an array. The time complexity […]

Java Program to find the peak element of an array using Binary Search approach

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 greater than […]

Posts navigation

« 1 … 17 18 19 … 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