유자맛바나나의 Dev-log

  • 홈
  • 태그
  • Front-End
  • Back-End

algorithm 1

[Codility] BinaryGap

class Solution { public int solution(int N) { String binaryN = Integer.toBinaryString(N); int max = 0; int nexMax = 0; for (char each : binaryN.toCharArray()) { if (each == '1') { max = Math.max(nexMax, max); nexMax = 0; } else { nexMax++; } } return max; } }

Algorithms 2022.02.22
1
클릭해서 더보기
프로필사진
GitHub
ojs7928@gmail.com
  • 분류 전체보기 (108)
    • OOP (1)
    • Design Pattern (3)
    • Clean Code & Refactoring (7)
    • Web개발 (0)
    • Back-End (46)
      • Java (7)
      • JPA (2)
      • Spring (13)
      • Server (8)
      • Kafka (6)
      • MySQL (2)
      • MongoDB (7)
    • Front-End (29)
      • HTML, CSS (6)
      • JavaScript (13)
      • React (9)
      • React-Native (1)
    • DevOps (11)
      • Docker (11)
      • Kubernetes (0)
      • Jenkins (0)
    • Data Science (0)
      • Python (0)
      • Machine Learning (0)
      • LLM (0)
    • Algorithms (8)
    • IntelliJ (1)
    • Gradle, Maven (0)
    • Motivation (1)

Tag

CleanCode, react, docker, javascript, javascript 문법, JPA, spring-data-jpa, codility, Dependencyinjection, webserver, dev-ops, JPA활용2, NGINX, Algorithms, java, Spring, kafka, devops, DesignPattern, lecture,

최근글과 인기글

  • 최근글
  • 인기글

Archives

Copyright © Kakao Corp. All rights reserved.

티스토리툴바