FLIXSTOCK Hiring Challenge | Campus Online Assessment Question | On-Campus (2023)

Question · Posted Jun 2026

Q1: Check if All Characters Have Equal Number of Occurrences Problem Statement Given a string s, determine whether all characters appear the same number of times. Return true if every character has equal frequency; otherwise return false. Example Input s = "abacbc" Output true Explanation Frequency of each character: a → 2 b → 2 c → 2 All frequencies are equal. Constraints 1 <= s.length <= 1000 s contains only lowercase English letters

The full answer & interview discussion are available to premium members.

Log in Create a free account