Solve This (? + ? + ?=30)
If 1111=R, 2222=T, 3333=E, 4444=N Then 5555=?
Guess the Hindi Muhawara from the following whatsapp Emoticons?
Sweet, Medicine, Film, Girl, City, Car, Place, Doggy all are name same, guess which word it is?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
Guess me who am I, I am the first on earth, the second in heaven...
Which Indian cricketer is known as "Brown Bradman"?
In 1896 French engineer and scientist Henri Becquerel identified radioactivity while observing what?
The small island (57.4 sq. km) of São Vicente, the most densely populated island in Brazil...............
Input: 23678210 Output: 8
int main() { int i = 349678; int j =0,k; while(i){ if (j < (k=(i %10))) { j = k; } i /=10; } printf("largest digit is :%d\n",j); }
C program to find and print second largest digit in the given number? (without using arrays, functions and using only one loop).
I was trying to get maximum rectangle area for a given histogram but I used brute force approach which have O(n^2) time complexity so I want some better solution using stack so that we could reduce time complexity to O(n) or O(log n ).