Home
Posts filed under java
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts
Monday, October 15, 2018
Movie Sentiment Analysis (Java)
Sentiment Analysis Background Sentiment analysis is the process of using software to classify a piece of text into a category that reflec...
Read more
Saturday, November 11, 2017
Kruskal's Algoritm DAA
Question: Write a program to find the minimum cost of connecting all the engineering colleges in your state using Kruskal's algorithm. ...
Dijkstra’s algorithm.
Question: Write a program to find shortest path from your home to college using Dijkstra’s algorithm. Code: import java.util.ArrayList; ...
Sunday, October 29, 2017
Prim's Java DAA 6
Code: import java.util.ArrayList; public class Prims { static class Vertex{ int parent ; boolean set ; in...
Friday, October 27, 2017
Knapsack Java
Knapsack Using Greedy Algorithm Code: package com.nearur; import java.util.ArrayList; import java.util.Collections; import java.util....
Sunday, September 3, 2017
Number To Equivalent InWords String
Code: package com.nearur; import java.util.Scanner; public class English { String[] ones= {"","one","two...
Friday, September 1, 2017
Name In Binary
Code: package com.nearur; import java.util.Scanner; public class NTB { static StringBuffer buffer=new StringBuffer(); public s...
Tuesday, August 22, 2017
Sunday, August 20, 2017
Desired Number of Quark Pairs
Following Code will give you desired number of quark pairs: Code: import java.util.Scanner; public class MainQuark { public static...
Quark Pairs Upto N
Quark Pairs: Code: import java.util.Scanner; public class MainQuark { public static void main(String[] nt) { Syst...
Saturday, August 19, 2017
K-means Clustering
What is K-means? 1. Partitional clustering approach 2. Each cluster is associated with a centroid (center point) 3. Each point is as...