This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static boolean checkReposition(String one, String two){ | |
| List<Character> charListOne = new ArrayList<Character>(); | |
| for(char c : one.toCharArray()){ | |
| charListOne.add(c); | |
| } | |
| List<Character> charListTwo = new ArrayList<Character>(); | |
| for(char c : two.toCharArray()){ | |
| charListTwo.add(c); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.gmail.slartua; | |
| public class Data implements Comparable<Object>{ | |
| private int number; | |
| private String name; | |
| public Data(int number, String name) { | |
| this.number = number; | |
| this.name = name; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace ArrayObject | |
| { | |
| public static class ArrayTasks | |
| { | |
| public static void ChangeElementsInArray(int[] nums) | |
| { | |
| for (int i = 0; i < nums.Length / 2; i++) | |
| { |
OlderNewer