K may be very long so generating the entire number, calculating the sum of digits and then checking for multiple of 3 is cumbersome. Recommended: Please try your approach on first, before moving on to the solution. Program for Binary To Decimal Conversion.Program to count digits in an integer (4 Different Methods).Program to find sum of elements in a given array.Print all possible combinations of r elements in a given array of size n.The Knight's tour problem | Backtracking-1.How to swap two numbers without using a temporary variable?.Euclidean algorithms (Basic and Extended).Write a program to reverse digits of a number.Find minimum number of coins that make a given value.Modulo Operator (%) in C/C++ with Examples.Efficient program to print all prime factors of a given number.Program for Decimal to Binary Conversion.Program to find GCD or HCF of two numbers.Set in C++ Standard Template Library (STL).Write a program to print all permutations of a given string.ISRO CS Syllabus for Scientist/Engineer Exam.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |