We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a08c142 + f07898c commit 03ae49bCopy full SHA for 03ae49b
3 files changed
Insung-Jo/level_0/부분 문자열.js
@@ -0,0 +1,3 @@
1
+function solution(str1, str2) {
2
+ return str2.includes(str1) ? 1 : 0;
3
+}
Insung-Jo/level_0/부분 문자열인지 확인하기.js
+function solution(my_string, target) {
+ return my_string.includes(target) ? 1 : 0;
Insung-Jo/level_1/내적.js
@@ -0,0 +1,9 @@
+function solution(a, b) {
+ let sum = 0;
+
4
+ for (let i = 0; i < a.length; i++) {
5
+ sum += a[i] * b[i];
6
+ }
7
8
+ return sum;
9
0 commit comments