My Courses

  • N Queens Problem – Iterative to recursive  derivation

    N Queens Problem – Iterative to recursive derivation

    There is a problem named N Queens which is famous in computer science courses and some programming challenges. Most of the websites who claim to explain the solution are either copying the solution from other place or memorizing it. They don’t fully understand or solve the problem themselves. So, I started trying the problem myself…

  • Generate Combination Sequence

    Generate Combination Sequence

    Recently during a “Hiring Hackathon” of a company I went through a problem which required, to get all the combination of an array element. That is if the array length is 3 then the combination of array index should look like below: Let’s write code for the above output. In the very first attempt I…

  • My meaning of Yog (योग) not Yoga(योगा)

    My meaning of Yog (योग) not Yoga(योगा)

    I wanted to follow yoga or exercising for many days and hence was having a lot of questions in mind. Surely due to procrastination, I couldn’t start practicing it. Today morning, in place of starting with different poses of Yoga, I placed myself in the meditation, trying to relax my body and start concentrating on…

  • HTML5 document structure

    HTML5 document structure

    HTML5 document structure is mostly same as HTML 4 document structure, and it expands the structure a little. Following are some tags which extends the existing HTML 4 structure. <header> and <footer> elements HTML5 document body may contain a header section with tags <header></header> which usually contain the headings and a footer section with tags…

  • HTML5 Markups Removed or Meaning Change

    HTML5 Markups Removed or Meaning Change

    The HTML5 specification has removed many of the tags and attributes. Although these element and attributes are removed from specification the browsers will continue to support some of them in order to be backward compatible. Many of the markup and attributes are presentational which need to be replaced by CSS, so that presentation and logic…

  • Hello HTML5

    Hello HTML5

    Designed to standardize HTML, XHTML specifications tried to make HTML more strict and made some rigid standards like every tag in HTML should have a closing tag which added different type of syntaxes like / in line breaks, which converted <br> element to <br />. This made XHTML overly complex for existing HTML developers and…

  • Introduction to HTML

    Introduction to HTML

    What is HTML? The full form of HTML is Hypertext Markup Language. First of all we should understand what is a markup? Markup refers to the data included in an electronic document which is not the part of the content and is used to control the display or enrich the content. So, a markup language…

  • Static Chat/Chatbot Window Design

    Static Chat/Chatbot Window Design

    In the age of Artificial Intelligence and Machine Learning, chat bots are becoming the major part of many businesses. Chat bots are little different than the menu based systems like IVR calls, where we can have some options to work with and select the responses. Chat Bots can interact with user in innovative ways and…

  • Custom Function for Better Logging in PowerShell Scripts

    Custom Function for Better Logging in PowerShell Scripts

    Logging in programming is a very basic skill which give a developer an edge in different environments and helping user debug the program without using debug utilities. In PowerShell, there are some of the functions available which can be utilized and modified in order to get a better logging functionality in PowerShell. The basic functions…

  • Implement ‘nohup’ like functionality in Windows PowerShell

    Implement ‘nohup’ like functionality in Windows PowerShell

    In Linux operating system there is a very useful utility named ‘nohup‘ which can let the command running in background even if the user logs out of the terminal/command line. The utility is very useful if there is a command which takes too much time and need to run in background irrespective of the session…