프론트엔드 개발자 엄성준 블로그

  • 홈
  • 태그

[Leet Code - eazy] 1365. How Many Numbers Are Smaller Than the Current Number 1

[Leet Code - eazy] 1365. How Many Numbers Are Smaller Than the Current Number

Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it. That is, for each nums[i] you have to count the number of valid j's such that j != i and nums[j] < nums[i]. Return the answer in an array. Example 1: Input: nums = [8,1,2,2,3] Output: [4,0,1,1,3] Explanation: For nums[0]=8 there exist four smaller numbers than it (1, 2, 2 and 3). For nums[1]=1 does..

코딩 테스트 풀이 🛠 2023.02.10
이전
1
다음
더보기
프로필사진

꾸준함을 강점으로 삼고 있는 프론트엔드 개발자 엄성준 블로그입니다.

250x250
  • 카테고리 📂 (396)
    • 코딩 테스트 풀이 🛠 (232)
    • 지식 정리 📝 (92)
    • zero-base 프론트엔드 스쿨 ⛪️ (20)
    • 3월 협업 프로젝트(1석 4조) 👨‍👩‍👧‍👦 (19)

Tag

exceljs, 프론트엔드 개발자 엄성준, join(), Number(), sort(), react, 오토위니, autowini, 프로그래머스, 엄성준, 프론트엔드 개발자, split(), 제로베이스, forEach(), String(), 프론트엔드, 프론트엔드 스쿨, WiniLogis, 제로베이스 프론트엔드 스쿨, next.js,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

방문자수Total

  • Today :
  • Yesterday :

꾸준함이 강점이자 자랑인 프론트엔드 개발자 엄성준 입니다.

  • Github
  • 📷 Instar
  • 🎨Portfolio

티스토리툴바