일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 멀티스레드
- 구조체
- 프론트엔드 스쿨
- 구현
- JavaScript
- 메모리 배리어
- socket
- 문자열&연산자
- C++
- 제로베이스
- MemoryBarrier
- 백트래킹
- map
- leetcode
- 제로베이스 프론트엔드 스쿨
- 프로그래머스
- 알고리즘
- React
- 완전탐색
- 백준
- dfs
- Server
- Algorithm
- N과 M(2)
- 서버
- c#
- 코딩테스트 스터디
- BFS
- 코딩테스트
- 자바스크립트
- Today
- Total
목록코딩테스트 스터디 (3)
Written
https://leetcode.com/problems/valid-parentheses/ Valid Parentheses - LeetCode Valid Parentheses - Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: 1. Open brackets must be closed by the same type of brackets. 2. Open brackets must be leetcode.com Given a string s containing just the characters '(..

코딩테스트 스터디 2주차 기록입니다. https://leetcode.com/problems/roman-to-integer/ Roman to Integer - LeetCode Roman to Integer - Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, 2 is written as II in Roman numeral, just two ones added together. 12 is written as XII leetcode.com 로마 숫자를 정수로 변환하는 문제였습니다. 처음에 문제에 나온 ..
제로베이스 프론트엔드 10기 수강생들 내에서 코딩 테스트 스터디를 따로 진행하면서 공부한 것들의 내용을 정리하고있습니다. leetcode 9번 문제 Palindrome Number 풀이입니다. 기존의 x를 거꾸로해서 벡터에 넣고, 1번 인덱스의 값과 제일 뒤의 인덱스 값을 비교하면서 앞에서는 하나씩 늘리고 뒤에서는 하나씩 줄이면서 대칭이기 때문에 size를 2로 나누어 절반만 확인해서 답을 구해봤습니다. 한번이라도 다르면 규칙에 안맞기 때문에 바로 return false로 함수를 끝냈습니다. class Solution { public: bool isPalindrome(int x) { vector res; if ( x < 0) return false; while(true) { int a1 = x / 10;..