×

# [closed] help September challenge chef and digit

 0 the constraints are itself so dangerous , that I am not able to think of a way other then to store it as a string, but what to do next? asked 03 Oct '17, 12:20 469●10 accept rate: 0% 15.5k●1●20●66 Did you even try reading the editorial? (03 Oct '17, 14:25)

### The question has been closed for the following reason "Issue Resolved." by vijju123 03 Oct '17, 14:26

 1 You can just loop from 65 to 65+26 and and check if a digit is present in the original array or not. Complexity would be $O(26N) = O(N)$. Solution here: https://www.codechef.com/viewsolution/15182329 answered 03 Oct '17, 12:26 2.4k●7●23 accept rate: 20% thank you but I cannot up vote unfortunately (03 Oct '17, 12:39) 1 No worries, all that matters is you learnt something. :) (03 Oct '17, 12:59)
 1 Answer is hidden as author is suspended. Click here to view. answered 03 Oct '17, 12:36 2★raj79 (suspended) accept rate: 10% thank you for such a detailed explanation . :) (03 Oct '17, 12:37)

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×2,736

question asked: 03 Oct '17, 12:20

question was seen: 275 times

last updated: 03 Oct '17, 14:26