Search:

Type: Posts; User: ryandc

Search: Search took 0.12 seconds.

  1. Re: ArrayDiff Problem on CodeWars; Need Assistance

    I've adjusted my code to use ArrayList instead of HashMap.
    I've included comments to explain what is happening.

    I've tried executing the code in the Java Tutor at Java Tutor - Visualize Java code...
  2. Re: ArrayDiff Problem on CodeWars; Need Assistance

    For example, would this code be a possible solution?



    public class Kata {

    public static int[] arrayDiff(int[] a, int[] b) {
    HashSet<Integer> result = new HashSet<>();
    ...
  3. Re: ArrayDiff Problem on CodeWars; Need Assistance

    Sorry about that. New to this forum.

    To be honest those questions about what is in the arguments isn't really the issue.
    But I will try posting another question on Codewars and see if I can get...
  4. ArrayDiff Problem on CodeWars; Need Assistance

    I am trying to solve the ArrayDiff challenge on CodeWars with the Java language. I've already completed Javascript and Python, but I'm less familiar with Java and I cannot figure it out. Ive already...
Results 1 to 4 of 4