나는 테스트는 주로 이 사이트에서 한다. https://regexr.com/ RegExr: Learn, Build, & Test RegEx RegExr is an online tool to learn, build, & test Regular Expressions (RegEx / RegExp). regexr.com 표현식 의미 ^x 문자열의 시작을 표현하며 x 문자로 시작됨을 의미한다. x$ 문자열의 종료를 표현하며 x 문자로 종료됨을 의미한다. .x 임의의 한 문자의 자리수를 표현하며 문자열이 x 로 끝난다는 것을 의미한다. x+ 반복을 표현하며 x 문자가 한번 이상 반복됨을 의미한다. x? 존재여부를 표현하며 x 문자가 존재할 수도, 존재하지 않을 수도 있음을 의미한다. x* 반복여부를 표현하며 x 문..
https://programmers.co.kr/learn/courses/30/lessons/42578 코딩테스트 연습 - 위장 programmers.co.kr [ 나의 풀이 ] 공식을 찾아내는것이 포인트이다. 공식: (A+1)*(B+1) -1 import java.util.HashMap; import java.util.Map; class Solution { public int solution(String[][] clothes) { int answer = 1; Map clothesMap = new HashMap(); for(int i = 0; i < clothes.length; i++) { clothesMap.put(clothes[i][1], clothesMap.getOrDefault(clothes[i][..
To bring an American perspective from a marketing point of view. 마케팅 분야에서 미국의 관점을 공유하기 위해 He would like you to work on the account. 당신한테 홍보를 맡기고 싶대요. mistress: 내연녀 They were in the same room, to be precise. 정확히 말하자면 Every time I pass by, it's packed. 지나갈때마다 자리가 꽉 차있더라구 take over the family business. 가족 사업을 맡기다 drop out: 자퇴하다 I'm used to getting my way, too. 나도 한고집하거든 That's harsh. 너무하네 I'd much ..
https://leetcode.com/problems/valid-palindrome/ Valid Palindrome - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution { public boolean isPalindrome(String s) { s = s.toLowerCase().replaceAll("[^a-z0-9]", ""); for(int i = 0; i < s.length()/2; i++) { if(s.charAt(i) != s.c..
- Total
- Today
- Yesterday