package review; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; public class String05 { // a#b!GE*T@S public static void main(String[] args) throws IOException { // 문자만 뒤집어서 바꾸기 // lt(left) rt(right) // 0 1 2 3 4 5 6 7 8 9 // a # b ! G E * T @ S // 문자 배열이라고 생각하세요 BufferedReader br = new BufferedReader(new InputStreamReader(Sy..
package review; import java.util.Scanner; public class String03 { // 문장 속 제일 긴 단어 찾기 // It is time to study , study public static void main(String[] args) { Scanner sc = new Scanner(System.in); String03 T = new String03(); String str = sc.nextLine(); System.out.println(T.solution(str)); } public String solution(String str) { String answer = ""; // 가장 작은 값으로 초기화 int min = Integer.MIN_VALUE; Strin..
package review; import java.util.Scanner; public class String02 { // 대문자와 소문자가 같이 존재하는 문자열을 입력받아 대문자는 소문자로 // 소문자는 대문자로 변환 public static void main(String[] args) { String02 string02 = new String02(); Scanner kb = new Scanner(System.in); String str=kb.next(); System.out.println(string02.solution(str)); } public String solution(String str) { // 소문자 97 ~ 122 // 대문자 65 ~ 90 // 32만큼 차이가 난다 StringBuil..
// 문제 : // Character , c 입력받아서 c가 몇개인지 출력 package review; import java.util.Scanner; public class String01 { public int solution(String str, char c) { int answer = 0; str = str.toUpperCase(); c = Character.toUpperCase(c); for ( char x : str.toCharArray()) { if ( x == c) { answer++; } } return answer; } public static void main(String[] args) { String01 string01 = new String01(); Scanner kb = new S..
- Total
- Today
- Yesterday
- 재색인
- bool
- React18
- 인덱스
- config
- ArrayList
- literal sql
- EL
- list
- string
- GIT
- mysql은 nl이 기본 세팅
- Query
- NextJS 14
- Java
- logstash
- index 처리를 잘하자
- ElasticSearach 백업
- 문자
- kibana
- Elasticsearch
- Mappings
- 명령어
- Mapping
- Linux
- react
- 키바나
- pm2-logrotate
- InteiilJ
- 절대 경로 설정하기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |