Skip to main content

Posts

Showing posts with the label Algorithm

Machine Learning : A modern aspects to life and digital world ! Part I

DEFINITION: The definition of Machine Learning(ML) in simple words is that " To give Computer ability to learn for experiences without being explicitly programmed ". What ML actually mean is :                                          (lol 😂) BREAKDOWN OF KEYWORDS: There are two keywords which are ' learn from experiences ' and the second one is ' explicitly programmed '. So what is the meaning of those two words first is ' learn from experiences ', that is if you are doing something (habitual), you need to practice (train), we need to make computers do the same like to train in a football ground! 😂 Hell no! learn from its statistical interference, and the second keyword was that 'explicitly programmed', which we do in programming and coding we make our pc to perform some task by commands, which we don't do it here,  The way we try to unders...

Combinatorics For Programmers and Coders

Hey! Computer Geeks! Here we will discuss two or more special numbers that made the way of coding easy, Introduction to Catalan Numbers: The Catalan numbers are a sequence of positive integers that appear in many counting problems in combinatorics. They count certain types of lattice paths, permutations, binary trees, and many other combinatorial objects. They satisfy a fundamental recurrence relation and have a closed-form formula in terms of binomial coefficients. The Catalan number Cn describes, among other things: The number of binary trees with n nodes, The number of ways in which parentheses can be placed in a sequence of n+ 1 numbers to be multiplied two at a time, The number of well-formed reverse Polish expressions with n operands and n + 1 operators, The number of paths in a grid from (0, 0) to (n, n), increasing just one coordinate by one at each step, without crossing the main diagonal,  The number of n-bit sequences that the number of 1s never exceeds the n...