Calculate the Sum If You Can This problem deals with the following expression: 1−2+1−2+1−2+1−2+1−2+1−2+1−2+... Given n, you have ... |
Hardest Update and Easiest Query You have an array A with n elements which is indexed from 1 to n. Now you have to deal with two type...
Moderate
29/38/149 |
Lowercase or Uppercase You are given a string S consisting of lowercase English letters (a, b, c ….. z), uppercase English ...
Very Easy
205/238/550 |
Nitu and Her Lucky String Recently, Nitu has developed a keen interest in solving string-related problems. She possesses a spe...
Moderate
16/18/91 |
Nitu and Pseudo-code Last night, Nitu came across the following pseudo-code. She understood that this method would take t...
Moderate
10/17/110 |
Nitu the Laziest Girl Did you hear about the lazy girl Nitu? She loves programming a lot and spends most of her times in p...
Moderate
63/72/189 |
Unique String There are 3 types of letters available. They are A, B and C. You are given the frequencies of them. ...
Moderate
3/12/28 |