Problem I am doing a refresher on algorithms. I tried to solve the problem of determining if you have 2 […]

# Category: Java

## Creating and manipulating a variant number of bufferedImages for vision algorithm

Problem I’m developing an algorithm that takes structured light patterns to determine 3D properties of objects. This class builds the […]

## Finding a max element in an array in Java

Problem Created the following method: public static int max(int[] array) { int max = Integer.MIN_VALUE; for (int value : array) […]

## Converting a text file to a CSV file

Problem I’m attempting to learn more about Java and have created a method that takes a text file with stdout […]

## arrayOfAccumulators[i], arrayOfAverages[i], elementCounter)

Problem Solution

## Java application for finding permutations efficiently

Problem I am an eighth grader with a school project of creating and application in Java that returns the total […]

## Finding better logic for addition and removal of Nodes in a Linked List

Problem Consider the following piece of code I wrote (a templated Linked List): package com.data_structures; public class LinkedList<NodeDataType> { public […]

## Adding a number to an array of digits

Problem I’m a student in my first semester and in my free time and holidays, I do some java training […]

## Version comparison function

Problem I have this version comparison function in java. Any cleaner way to write this without all the nested ‘if’ […]

## URLify a given String – replace spaces with %20

Problem I have written a code to replace all spaces in a String with %20. Input: “Mr John Smith ” […]