C CareerByteCode Arena Browse Sign in
Arena › Browse › Challenge
DSA Medium +15 XP

Count char (JS)

Write solve(s,ch) returning how many times ch appears in s.

Sign in to solve this challenge

Use your college email to start solving, earn XP, build a streak, and climb your college leaderboard. It is free.

Sign in with Google
← Back to all challenges