Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Back to DiscussionsPractice it here⭐ Join thousands of engineers in our community
Meta | E4 | Software Engineer
Added to OfferRetriever
This question is now on OfferRetriever
Practice OA [CodeSignal] Balanced Numbers in Permutation with the full problem, test cases and code editor.
closing_octopus4044
Mar 6, 2026
0
0
Given a permutation p of length n, a number k is balanced if there are two indices l, r (1<= l <= r <= n) s.t. the numbers [p[l], p[l+1], ..., p[r] form a permutation of the numbers 1,2,...k. For each k (1 <= k <= n) determine if it is balanced. Return...
0 likes
0 comments
Share
Join the Discussion
Create a free account to read "Meta | E4 | Software Engineer" and join our community of engineers sharing interview experiences.
Create an account to view this post
No credit card required.
Access full discussion posts and insights
Connect with other engineers on their job search
Share your own experiences and questions