How to Create composer.json File For PHP Project

How to create composer.json file for PHP project.

PHP Composer is a cross-platform package dependency manager that manages package dependency in a PHP project. In Composer file, we can mention the dependencies which we need for our project and it will download them. In this tutorial, You are going to learn how to create a composer.json file for your  PHP project.

How to Create Composer.json File for PHP Project

How to Create Composer.json File for PHP Project

How to Measure 4L Water with 3L and 5L Jugs

In this post, let’s discuss a interesting puzzle how to measure 4l water with 3l and 4l jugs.

Problem statement : You have two jugs of capacity 3L and 5L. There is no measurement lines on jug. You need to measure 4L water using 3L and 5L jug. You can use extra water as much as you need. This is one of the favourite puzzle question asked by an interviewer to check your thinking ability.

Stack Program in C using an Array – Stack Tutorial Part – I

Write a stack program in C using an array. Implement a stack data structure using an Array. In this tutorial, You are going to learn about stack data structure and it’s implementation in C using an array.

C Program to Implement a Stack using Linked List

What is a Stack Data Structure?

A Stack is a Data Structure, in which insertion and deletion operations are allowed only at one end. It worked on LIFO (Last In First Out) Principle. In LIFO, an element which inserted last must be the first element to be removed.