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
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| public class LCEB { | |
| public List<String> resolve(final List<Integer> numbers, | |
| final Integer expected) { | |
| return getSolutions(expected, numbers, null, null); | |
| } |
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
| import java.io.IOException; | |
| import javax.sound.sampled.AudioInputStream; | |
| import javax.sound.sampled.AudioSystem; | |
| import javax.sound.sampled.Clip; | |
| import javax.sound.sampled.LineEvent; | |
| import javax.sound.sampled.LineEvent.Type; | |
| import javax.sound.sampled.LineListener; | |
| import javax.sound.sampled.LineUnavailableException; |
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
| Achievement achievement = new Achievement("Achievement unlocked", "My first Java code."); | |
| AchievementQueue queue = new AchievementQueue(); | |
| queue.add(achievement); |
NewerOlder