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

  • 홈
  • 태그

[Leet Code - eazy] 2535. Difference Between Element Sum and Digit Sum of an Array 1

[Leet Code - eazy] 2535. Difference Between Element Sum and Digit Sum of an Array

You are given a positive integer array nums. The element sum is the sum of all the elements in nums. The digit sum is the sum of all the digits (not necessarily distinct) that appear in nums. Return the absolute difference between the element sum and digit sum of nums. Note that the absolute difference between two integers x and y is defined as |x - y|. Example 1: Input: nums = [1,15,6,3] Output..

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

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

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

Tag

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

방문자수Total

  • Today :
  • Yesterday :

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

  • Github
  • 📷 Instar
  • 🎨Portfolio

티스토리툴바