This file contains 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
/* | |
Write a function, that given a list (or array) of integers and an integer s, | |
prints all combinations of 2 numbers in the list that sum to s. | |
*/ | |
import java.util.*; | |
public class CombinationSearch { |
This file contains 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
#!/bin/bash | |
######################################### | |
# handle proxy settings | |
# create link to this file using the case option below to create command to set a proxy | |
dconf_hosts="/system/proxy/http/host | |
/system/proxy/https/host | |
/system/proxy/socks/host" | |
dconf_ports="/system/proxy/http/port |