<commit_before>import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;


public class ArrayPairSum {
	
	public ArrayList<int[]> getAllSumPairsNaive(int k, int[] input) {
		ArrayList<int[]> allSumPairs = new ArrayList<int[]>();
		for (int i = 0; i < input.length; ++i) {
			for (int j = i; j < input.length; ++j) {
				if (input[i] + input[j] == k && i != j) {
					int[] sumPair = new int[2];
					sumPair[0] = input[i];
					sumPair[1] = input[j];
					allSumPairs.add(sumPair);
				}
			}
		}
		return allSumPairs;
	}
	
	public ArrayList<int[]> getAllSumPairs(int k, int[] input) {
		ArrayList<int[]> allSumPairs = new ArrayList<int[]>();
		HashMap<Integer, Boolean> usedNumbers = new HashMap<Integer, Boolean>();
		for (int i = 0; i < input.length; ++i) {<commit_msg>removed naive method from ArrayPairSum.java<commit_after>import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;


public class ArrayPairSum {
	
	public ArrayList<int[]> getAllSumPairs(int k, int[] input) {
		ArrayList<int[]> allSumPairs = new ArrayList<int[]>();
		HashMap<Integer, Boolean> usedNumbers = new HashMap<Integer, Boolean>();
		for (int i = 0; i < input.length; ++i) {
{'fraction_non_alphanumeric': 0.1620718462823726, 'fraction_numerical': 0.005012531328320802, 'mean_word_length': 4.254385964912281, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7308321', 'n_tokens_mistral': 460, 'n_tokens_neox': 416, 'n_words': 109}