Category: Algorithm

21
Apr
2017

Count number of 2’s in a given range (0 to n)? (ex: range between 0-20, Ans: 3 (i.e [2], 1[2], [2]0))

Google Search: https://www.google.com/search?q=Counting+2s&ie=utf-8&oe=utf-8&client=firefox-b#q=Counting+2s+in+c SOlution: https://www.careercup.com/question?id=56794 //https://www.careercup.com/question?id=56794 #include<stdio.h> int main() { int n,i,j; int ctr=0; scanf(“%d”,&n); for(i=0;i<=n;i++) { for(j=i;j>0;j=j/10) {…

31
Mar
2017

Programmer/Engineers Quotes

Change is the only constant. Don’t fear it and keep moving forward. Learn to ignore which/who doesn’t…

31
Mar
2017

Java For Competitive Programmers

https://www.quora.com/What-concepts-in-Java-should-I-learn-to-start-competitive-programming   Java certification will worth in this case to learn the language good but problem solving…

31
Mar
2017

IT jobs with knowledge of coding without degree?

Honestly its very difficult. Since It company gives importance to degree and skills both. There is no…

31
Mar
2017

“Learning programming is much harder than learning any particular programming language. “

“Learning programming is much harder than learning any particular programming language. “   This statement applies only…

13
Mar
2017

Where do I start competitive programming? I know the basics of C and C++.

Source: https://www.quora.com/Where-do-I-start-competitive-programming-I-know-the-basics-of-C-and-C++ Where do I start competitive programming? I know the basics of C and C++. Answer Request…