Articles by Amit Kumar
Hi, I am
Developer and founder of CodesDope.
Python Decorators - The simple way
Learn about the Python decorators, use of @ symbol in python and how to modify a function in Python. Implementing check for functions. Learn with examples.
Using *args and **kwargs in Python
Use of * (*args) and ** (**kwargs) in Python. Make a function to take different number of parameters. Packing arguments in tuple or dictionary.
Nested function, Scope of variable & closures in Python
Learn about Python's nested function, scope of variables and Python closures step by step and get all the codes explained. Expand your knowledge through example
Python's lambda - anonymous function, filter, and map
Learn about Python's lambda - the anonymous function, filter and map with examples and explanation. Get your all the doubts cleared.
Generating permutations of all elements of an array
Explanation of the concept to generate all the permutations of an array using recursion. Codes in C and Python with explanation.
Backtracking to solve a rat in a maze | C Java Python
Backtracking algorithm to solve a rat in a maze problem. Explanation of the problem and code. Codes in C, Java and Python. Pictures to understand better
Solving Sudoku with Backtracking | C, Java and Python
Explanation and code of Sudoku-solving algorithm using backtracking. A little introduction about Sudoku and how we can use backtracking to solve it.