Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- html
- ๋ฆฌ์กํธ
- K๋ฐฐํฐ๋ฆฌ
- ComputerScience
- ์ปดํจํฐ๊ณผํ
- ๋ฐ์ดํฐ๋ฒ ์ด์ค
- ๊น๋ฏธ๊ฒฝ์๋งํ์์
- ํฐ์คํ ๋ฆฌ์ฑ๋ฆฐ์ง
- ํ๋ก๊ทธ๋๋ฐ
- css
- database
- ์ค๋ผํด
- ๋ฐ์ํ
- Java
- ์ฑ
- ๋ง์ผ๋ด๊ฐ์ธ์์๋ค์์ฐ๋ค๋ฉด
- K๋ฐฐํฐ๋ฆฌ๋ ๋ณผ๋ฃจ์
- ๋ ์
- ์๋ฐ์คํฌ๋ฆฝํธ
- JavaScript
- ๋ผํ๋ผ์ค์๋ง๋
- ์ค๋ธ์
- Python
- ๊ฐ๋ฐ
- ์นํ์ด์ง๋ง๋ค๊ธฐ
- ์นํผ๋ธ๋ฆฌ์ฑ
- ์ํ
- ์ฝ๋ฉ
- ํ์ด์ฌ
- ์๋ฐ
Archives
- Today
- Total
JiYoung Dev ๐ฅ
[Java] ๋ฌธ์์ด์์ ๋ฐฐ์ด๋ก ๋ณํํ๋ ๋ฐฉ๋ฒ ๋ณธ๋ฌธ
toCharArray()
class Solution {
public int solution(String message) {
int answer = 0;
// for(int i = 0 ; i < message.length() ; i++) {
// answer += 2;
// }
char[] arr = message.toCharArray();
System.out.println(Arrays.toString(arr));
int size = arr.length;
answer = size * 2;
return answer;
}
}
'Question' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[JAVA] ์ ๊ณฑ๊ทผ ๊ตฌํ๊ธฐ (Math) (0) | 2023.08.08 |
---|---|
[JAVA] long ํ์ ์์ String ํ์ ์ผ๋ก ๋ณํํ๊ธฐ (0) | 2023.08.07 |
[JAVA] ์คํธ๋ฆผ(Stream) (0) | 2023.07.27 |
[HTML] <form>ํ๊ทธ enctype ์์ฑ (0) | 2023.06.12 |
[HTML] HTML input ํ๊ทธ ์์ฑ id, name ์ฐจ์ด (0) | 2023.06.01 |