The Ultimate Beginner’s Guide for Competitive programming

Competitive programming or sport programming is a mind sport involving participants trying to program according to provided specifications. Recursion Recursion is one of the most powerful and elegant tools in programming — but it can seem confusing at first. In this guide, you’ll learn what recursion is, how to identify recursive problems, how to approach … Read more

Coding Level 1

Modulo % Example to show Modulus operator: Refer Extract Last Digit(s) of a Number Digit separation Reverse a number Decimal to binary Using Bitwise Refer Binary to Decimal Using bitwise Array Reverse an Array Array Rotation Method 1 : Using Mod (%) Consider it as circular array and use the property of mod Note: Point … Read more

Python tips and tricks for competitive programming

Here are some Python hacks for competitive programming that can help you write efficient and concise code. Loops Range Array/List Python does not have built-in support for arrays like other languages (C, Java), but lists can be used as dynamic arrays. Initialisation with Default value Delete Delete an element from a list. Way 1: Using … Read more