849. Maximize Distance to Closest Person
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an array representing a row of seats where seats[i] = 1 represents a person sitting in the ith seat, and seats[i] = 0 represents that the ith seat is empty (0-indexed). There is at least one empty seat, and at least one person sitting. Alex wants to sit in the seat such that the distance between him and the closest person to him is maximized. Re..
Algorithm/LeetCode
2022. 1. 19. 10:30
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Spring Boot
- Spring Data JPA
- spring boot app
- @ManyToOne
- 스프링 부트
- r
- 스프링 데이터 jpa
- 함께 자라기 후기
- QueryDSL
- Java
- 알고리즘
- Linux
- spring boot jwt
- spring boot application
- 스프링 부트 애플리케이션
- gRPC
- Jackson
- JPA
- proto3
- 클린 아키텍처
- 스프링부트
- 스프링 부트 회원 가입
- Spring Boot Tutorial
- 함께 자라기
- JSON
- 스프링 부트 튜토리얼
- leetcode
- 헥사고날 아키텍처
- intellij
- Spring Boot JPA
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함