본문 바로가기

.Zzumbong

검색하기
프로필사진
.Zzumbong
Front-End 개발자의 탐험 일지 Keep Exploring!.
Work smart not hard.
포트폴리오
  • 전체 (113)
    • Dev (5)
    • coding test (77)
      • leetCode (66)
      • programmers (11)
    • EveryDay (31)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)

  • 전체 (113)
    • Dev (5)
    • coding test (77)
      • leetCode (66)
      • programmers (11)
    • EveryDay (31)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2023/10   »
일 월 화 수 목 금 토
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 31
Tags
  • 메탈퍼즐
  • 프라모델
  • 건담헤드
  • 유루건
  • 코테
  • 발더스모드
  • 눈알빠지겠네
  • 밥무하마드
  • 30mf
  • javascript
  • 롱라이플
  • 바질토마토뭐시기
  • 포켓몬
  • 코딩테스트
  • 우리시대의역설
  • 취미
  • 블라인드박스
  • 게임
  • 제프딕슨
  • 미앤아이
  • 맛집
  • 지쿠악스
  • LeetCode
  • 건담
  • DIY
  • 발더스게이트
  • 노노그램
  • 지리데칼
  • 가챠
  • 누룽지소금빵
more
Archives
Today
Total
관리 메뉴

목록2023/10/03 (1)

.Zzumbong

[leetCode/JS] 1512. Number of Good Pairs

난이도 [ 😊 ] Easy 문제 설명 Given an array of integers nums, return the number of good pairs. A pair (i, j) is called good if nums[i] == nums[j] and i < j. 정수 nums 배열을 받아서 good pairs 를 리턴한다. good pair 는 nums[i] === nums[j] 이다. i < j 는 해당하지 않음.. 문제가 좀 이상하긴해 입출력 예 Example 1: Input: nums = [1,2,3,1,1,3] Output: 4 Explanation: There are 4 good pairs (0,3), (0,4), (3,4), (2,5) 0-indexed. Example 2: Input: n..

coding test/leetCode 2023. 10. 3. 20:48
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바