Hey! there , I am back again with an interesting Data Structure And Algorithm problem namely Event Driven Simulation. You might wonder why my recent articles are based on simulations. If not check my previous articles on Monte Carlo Simulation : Estimate Percolation Threshold In Java, Conway’s Game Of Life: A Cellular Automaton and The Art Of Computer And Mathematics: Barnsley Fern. It has intrigued me that how invention of efficient data structures and algorithms has made is possible to simulate real world scenario on computers. Same applies for Event Driven Simulation.
You might question why is it necessary to…
In this article I will be explaining all the theories that you will need to understand Conway’s Game Of Life and finally some of my own implementation-al twists more on that later.
To understand Conway’s theory there are many things that you need to put your nose upfront.
To start with an interesting note, Conway’s Game Of Life is a zero-player game. Yes, you are reading it right. You will have no interaction with this game. But the fun part it you get to witness the evolution process , again more on that later.
The Game of Life is also…
As I was in the verge of completing my first week in Algorithm 1 by Princeton University in Coursera a name popped in my screen . It was, “Monte Carlo Simulation”. I pressed pause and thought, what the hell on earth is this nonsense!. Yes, that was the exact same reaction when I saw this name.
Being a student of management I only had hopes when I stared my journey towards learning Artificial Intelligence, (Which I successfully completed and have few projects , articles on my name till date) But then again, I grew this new passion for learning algorithms…
It is funny to see Art, Computer and Mathematics on the same line !! but some weird combinations can create awesome results. In this article we will be looking at how we can code an algorithm that draws a Fern.
Yehh!! You read it right we are going to draw a fern with numbers. I was so fascinated with the idea that we could create an art with simple mathematical algorithms . I always thought mathematics in computer science were boring.
If you are interested on, What more can be created using mathematical algorithms then check this link
Starting my first day as an Associate Software Engineer at Gurzu, I was given a problem to solve bulk file uploads to S3 bucket in flask. The first question that popped into my head was WHY!?? I mean, Can’t we just upload it to s3 itself ? That is when I suddenly came to realize , flask is a synchronous framework and would only take next request after the initial request was completely processed. (no wonder I am an associate. But hey! you learn from your mistakes right!) …
In this article, I will accompany you through how you can make your own AI-powered game.
As usual, we will apply the divide-and-conquer concept to create our system. Basically, we will need to break down our dilemma (create an AI-powered game) into lighter sub-obstacles. I got up with the successive obstacle set:
What is Code Analyzer ?
This is basically a sort of framework that clones a repo from GitHub and tests the code within it and returns the time and space used by the code. The code in the repo should be in a particular format i.e the code should be written in test.py file , The code to be analyzed should be written inside class name called Testing and should contain code within setup function with params as parameters to the function.
Motivation: As I was searching for a tool that analyzes a particular format of python codes and return…
Artificial Intelligence is such a broad term that people struggle to know the starting point. I remember myself being there . Getting the concept of what is Artificial Intelligence , what is Machine Learning , what is Deep Learning and what is Reinforcement Learning were the few challenges I faced. All I had back then were knowledge of few programming languages and curiosity to explore.
It’s kind of nothing but a term used to define a branch of computer science which explains simulation of intelligence by machines.
Before getting into machine learning let’s focus on traditional programming. So in traditional…