Implement swagger 3
โ swagger v3 ๐ด HTTPS CORS error However, there kept happening a CORS error ๐ต What I tried In browser, I was using https. However, the generated server url in swagger seemed to be http So I ...
โ swagger v3 ๐ด HTTPS CORS error However, there kept happening a CORS error ๐ต What I tried In browser, I was using https. However, the generated server url in swagger seemed to be http So I ...
๐ด Instance connection problem After 5~6 hours after deployment with nohup, at some point the connection was lost. ๐ Situation Analysis EC2 Instance in AWS was running without problem. c...
โ //โญ๏ธinput: //20 //โญ๏ธoutput: //8 ๐ต ThingsILearned โ๏ธ ๐ข ๐ข
Dear Google software team, I am writing letter to express my interest in the Software Engineering Intern position at Google. With my background in Java backend programming, I am excited about the ...
โ ์ด๋ค ์์ด์ ๋ํด์ ์ต์ข ๊ฐ์ด ๋์๋์ง, ๊ทธ ์์ด์ ์ถ์ธกํ์ธ์ ์ฒซ ์ค์ n ๊ฐ์ ์ซ์๊ฐ ์ ํ ์๋ค. ๋์งธ์ค๋ถํฐ ์์ ์๋ ์ซ์๋ผ๋ฆฌ ๋ํ๋ค. ๋ง์ง๋ง ๋์จ ๊ฐ์ ์ ์ฅํ๋ค. ์ฒ์์ n ๊ฐ์ ์ซ์ ๊ฐ์์ ์ต์ข ๊ฐ์ด ์ฃผ์ด์ก์ ๋, ์ฒ์์ ์ฃผ์ด์ง ์ซ์๋ฅผ ๊ตฌํ์ธ์. class Main { static int n; ...
Memoization https://soheeparklee.github.io/posts/DS-memoization/ โ ์กฐํฉ์ ๊ฒฝ์ฐ์๋ฅผ ์ฌ๊ท๋ฅผ ์ด์ฉํด ๊ณ์ฐํ์ธ์. //input 5 3 //output 10 //input 33 19 //output 818809200 ๐ข Code without memoization class Main ...
โ 1๋ถํฐ 10 ์ฌ์ด์ ์์ฐ์ m๊ฐ๊ฐ ์ฃผ์ด์ก์ ๋, n๊ฐ๋ฅผ ๋ฝ์ ์ ์๋ ๊ฒฝ์ฐ์ ์๋ฅผ ๋ชจ๋ ๊ตฌํ์ธ์. //โญ๏ธinput: //์์ฐ์ ๊ฐ์ m, ๋ฝ์ ์ซ์ ๊ฐ์ n //๋ค์ด์จ ์์ฐ์ 3 2 3 6 9 //โญ๏ธoutput: 3 6 3 9 6 3 6 9 9 3 9 6 ๐ต How to solve ๐ข Code class Main { ...
โ ์ฌ๋ฌ ์ข ๋ฅ์ ๋์ ๋ค์ด ์ฃผ์ด์ก์ ๋ ๊ฐ์ฅ ์ ์ ์์ ๋์ ์ผ๋ก ๊ฑฐ์ค๋ฆ๋์ ์ค ์ ์๋ ๋ฐฉ๋ฒ ๋์ ์ข ๋ฅ๊ฐ ์ฃผ์ด์ก์ ๋ ๋์ ์ต์ ๊ฐ์๋ฅผ ์ฌ์ฉํ์ฌ ๊ฑฐ์ค๋ฆ๋์ ๋ง๋ค์ด ์ค ์ ์๋ ๋์ ๊ฐ์๋ฅผ ๊ตฌํ์ธ์. //input //๋์ ๊ฐ์ ์ข ๋ฅ //๋์ ์ข ๋ฅ //๊ฑฐ์ค๋ฆ๋ 3 1 2 5 15 //output 3 //5 + 5 + 5 ๐ข Code class M...
โ ๋ก๊ทธ์ธํ๋ค๊ฐ 1์๊ฐ ์ง๋๋ฉด? ๋ ๋ก๊ทธ์ธ์ ํด์ผํด์ ํ๊ธฐ๋ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด ์ผ์ ์ฃผ๊ธฐ๋ง๋ค Refresh Token Access Token ์ ์ฉํ๊ธฐ โ 1์๊ฐ ์ง๋๋ฉด ๋ก๊ทธ์ธ ํ์ด์ง๋ก ํ๊ธฐ๊ฒ ํ๊ธฐ customAuthenticationEntryPoint response.sendRedirect("/auth/login") ์ด๋ ๊ฒ โ JPA์ ๋ํด...
โ 1๋ถํฐ N๊น์ง ๋ฒํธ๊ฐ ์ ํ ๊ตฌ์ฌ์ด ์์ ๋ ์ค๋ณต์ ํ๋ฝํด์ M๋ฒ์ ๋ฝ๋ ๊ฒฝ์ฐ์ ์๋ฅผ ๋ชจ๋ ์ถ๋ ฅํ์ธ์. ์ค๋ฆ์ฐจ์์ผ๋ก ์ถ๋ ฅํ์ธ์ โ๏ธ input and output //input 3 2 //output 1 1 1 2 1 3 2 1 2 2 2 3 3 1 3 2 3 3 ๐ต ThingsILearned make int array pm...