강의

멘토링

커뮤니티

Inflearn Community Q&A

doorsidestandby2028's profile image
doorsidestandby2028

asked

Introduction to Javascript Algorithm Problem Solving (Coding Test Preparation)

16. Remove duplicate characters (indexOf)

혹시 반대로 중복된 것만 나타나게 하려면 어떻게 해야할까요?

Written on

·

192

0

중복된것만 나타내는데 중복되는 영문자가 더 많은것을 

우선으로 추출하는 경우는 어떻게 코딩해야할까요? 

 

비슷하게 코딩해보려고하는데 자꾸 원하는 결과가 안나오네요 ㅠㅠ 

코테 준비 같이 해요! javascript

Answer 1

0

codingcamp님의 프로필 이미지
codingcamp
Instructor

안녕하세요^^ 

해쉬맵을 사용하면 편하게 중복된 것만 뽑아낼 수 있습니다.

doorsidestandby2028's profile image
doorsidestandby2028

asked

Ask a question