Code360 powered by Coding Ninjas X Code360 powered by Coding Ninjas X
Code 360 contest

Weekly Contest 130

50  on registration
Contest ended
Practice to see your potential score among the contestants
Contest details
How to prepare
Rating & leaderboard
Rules & FAQs
Video SolutionNew
Contest details

CN Insider💡- Be the First to Know – Join our Brand new Discord Community of CNCode 360 for Insider tips, Early Announcements, and Structured Upskilling.


Embark on a weekly coding adventure with problems inspired by top tech companies !! Each week brings a new opportunity for you to showcase your coding skills and a chance to land tech internships or full-time positions with our esteemed hiring partners.


Weekly Contest is not just about coding; it's a chance to upskill, get hired, and step into the world of enormous career opportunities.


Contest Process(Important):

Registration: Register on CNCode 360 Weekly Contest to participate in the contest
Participation: Engage in the coding challenge every Thursday from 8 to 10 PM.


Contest Format:

Duration: 2 hours of coding excitement.

Problems: 4 High Quality Industry Based Coding Problems.

Language Supported: Java,Python, C++,&JavaScript


Sample problem for you
Prepare to ace the contest with frequently asked topics
Top Array problems
Next Greater Element
Top String problems
Longest Palindromic Substring
Top Recursion problems
Longest Increasing Subsequence
Practice in a free mock contest to 2x your performance
Rank against other participants
Real time test environment
Mock contest
4 problems
2000+ participants
Current rating
Lies amongst top NaN%
Contests attended
Contest submissions
Contest leaderboard rules
EXP-Based Ranking:
Your leaderboard rank is influenced by your total EXP, which you accumulate by solving each question. The more EXP you gather, the higher your rank ascends.
Tie-Breaker Rule:
Should there be a tie in total EXP among participants, precedence is granted to the one who reached their total EXP first. This ensures a fair and competitive ranking.
Time Calculation:
The duration for accumulating EXP is measured from the contest's official start time. This ensures uniformity, as it does not depend on each participant’s start time.

Earn Coding Ninjas Studio EXP as well to unlock lucrative badges on your CNStudio Profile

  • 1st - 1000 EXP
  • 2nd - 750 EXP
  • 3rd - 500 EXP
  • 4th-10th - 250 EXP
  • 11th-50th - 100 EXP
  • First Contest - 200 EXP
  • Participation - 100 EXP


  • You can submit solutions as many times as you'd like, there are no penalties for incorrect submissions. Only your best correct submission will be considered.
  • Those who achieve the score first will be placed higher in the ranklist in case of a tie.
  • Discussing Coding Ninjas Studio contest problems or any aspect of the problem, on any other platform on the web, on identification, could lead to disabling of respective account and banning from the community.
  • Please do not discuss strategy, suggestions, or tips in the comments during a live contest. Posting questions clarifying the problem statement is ok. If you are unsure, feel free email us at
  • The problems will be partially graded. You will get score for passing certain test cases.
  • Facing any kind of issues, email us at
For any issues and inquiries mail us at


Which browser should I prefer to use to participate in contests?

What kind of questions can I expect in Coding Ninjas Studio contests?

Can I leave the test in the middle and continue later?

What if i encounter technical issues during the test?

What is the meaning of EXP?

Can we participate in contests from mobile?

Will I receive the results of the contest? If yes, when?

Will I get the allotted time to attempt the contest if I start the contest just few mins before the event End Time?

Go to discussion page
Weekly Contest 130
Contests and hackathons

Hey Ninjas!

This is a post to ask doubts and share your logic for solving questions from Weekly Contest 130! 😄
You can also view the rankings for the contest here (link).

If you face any issues during the contest, do let us know by replying below. ✌️

How was your experience in the contest or got any feedback? Let us know here (link)

0 Upvoted
Published on 13 Jun, 2024
Replies (5)
Priya Tripathi
13 Jun, 2024

where is solution of problems got damn it


Parag Goyal
13 Jun, 2024

any one solved last question without digit dp?


Video solution