We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef2273 commit 12272daCopy full SHA for 12272da
lesson_13/maps_java/maps_app/build.gradle.kts
@@ -32,7 +32,7 @@ dependencies {
32
33
application {
34
// Define the main class for the application.
35
- mainClass.set("com.codedifferently.lesson12.Lesson12")
+ mainClass.set("com.codedifferently.lesson13.Lesson13")
36
}
37
38
tasks.named<Test>("test") {
lesson_13/maps_java/maps_app/src/main/java/com/codedifferently/lesson13/Lesson13.java
@@ -11,7 +11,7 @@ public class Lesson13 {
11
public int findPermutationDifference(String s, String t) {
12
HashMap<Character, Integer> indexMap = new HashMap<>();
13
14
- for (int i =0; i < s.length(); i++) {
+ for (int i = 0; i < s.length(); i++) {
15
indexMap.put(s.charAt(i), i);
16
17
0 commit comments