본문 바로가기

Practice25

[Codility] Lesson 2 : CyclicRotation - JAVA 문제 An array A consisting of N integers is given. Rotation of the array means that each element is shifted right by one index, and the last element of the array is moved to the first place. For example, the rotation of array A = [3, 8, 9, 7, 6] is [6, 3, 8, 9, 7] (elements are shifted right by one index and 6 is moved to the first place). The goal is to rotate array A K times; that is, each eleme.. 2022. 5. 30.
[Codility] Lesson 1 - JAVA 문제 A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N. For example, number 9 has binary representation 1001 and contains a binary gap of length 2. The number 529 has binary representation 1000010001 and contains two binary gaps: one of length 4 and one of length 3. The number 20 has binar.. 2022. 5. 29.
Wavy Text Animation L o a d i n g . . . 출처 : Youtube > Online Tutorials 채널 *{ margin: 0; padding: 0; font-family: consolas; } .body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #000; } .wavy{ position: relative; -webkit-box-reflect: below -12px linear-gradient(transparent, rgba(0,0,0,0.2)); } .wavy span{ position: relative; display: inline-block; color: #fff; font-siz.. 2020. 3. 22.
Images Slide(HTML + CSS) 출처 : Youtube > DarkCode 채널 .content-area{ margin: 0; padding: 0; background: #34495e; height: 680px; } .slidershow{ width: 700px; height: 400px; overflow: hidden; } .middle{ position: absolute; top: 31%; left: 41%; transform: translate(-50%, -50%); } .navigation{ position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; } .bar{ width: 50px; height: 10px; border: 2p.. 2020. 3. 19.
Login Form(HTML+CSS) Login 출처 : Youtube > DarkCode 채널 #contentBody { margin: 0; padding: 0; font-family: sans-serif; background: #34495e; height: 500px; } .box{ width: 300px; padding: 40px; position: absolute; top: 35%; left: 40%; transform: translate(-50%, -50%); background: #191919; text-align: center; } .box h1{ color: white; text-transform: uppercase; font-weight: 500; } .box input[type="text"], .box input[type=.. 2020. 3. 18.
Calculator(CSS+Script) c / * 7 8 9 - 4 5 6 + 3 2 1 0 00 . = 출처 : Youtube > Online Tutorials 채널 * { margin: 0px; padding: 0px; box-sizing: border-box; font-family: 'Poppins', sans-serif; } .body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #091921; } .calculator{ position: relative; display: grid; } .calculator .value{ grid-column: span 4; height: 100px; text-align: right.. 2020. 3. 17.