Doubly-Linked List

The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a huge plus point in a coding interview.

Given a sorted doubly linked list of positive distinct elements, the task is to find pairs in a doubly-linked list whose sum is equal to the given value num.

  • The brute force approach using nested loops
  • Time optimized approach using Hashing
  • Space and Time optimized approach using the two-pointer method


Manju is given a task to find the count of a given number from the group of sorted numbers and then push the numbers to the front of the array to easily be picked up and counted.

  • The brute force approach using loop
  • The optimized approach using binary search


Merge Sort of Linked lists

Merge sort is a famous and most optimized sorting algorithm which works on the principle of divide and conquer. It is also known as the divide and conquer algorithm with time complexity of O(n*logn).

Merge sort works in two easy steps:

  • Divide the input list into two sub-lists, each sub-list having the same size.
  • Merge the two sub-lists into one big list, and each element in the list is ordered/sorted.

Now, working of merge sort for an array can be easily understood, for those who have not any idea on how merge sort works for an array can refer to…


We all are familiar with the latest frontend technologies which are HTML, CSS, JQuery, and even JavaScript. Over the past times, we full-stack engineers at Fasal have been working a lot on improving the user experience for our users and provide them with a seamless experience using our web and mobile apps. …


Amazon AWS is the most popular cloud service provider in the world that makes the work of software engineers easier by providing numerous features and functions necessary to host, monitor, and manage your cloud-based web applications. Serverless is one such technology that is gaining popularity these days and learning how to work with serverless can be very exciting and fun.

In this article, I am going to dig deeper into serverless and I will also show you how to execute a serverless program on our local machine.


UI engineers these days are looking to add whole new responsive features and designs to their website. Some of the small, yet important CSS concepts are very helpful in making your website look more beautiful and responsive and one of them is flexbox which not only helps you design your website to make it responsive and beautiful but also gives a whole new amazing UI experience. So, let's get started with learning flexbox.

What is a Flexbox?
Flexbox can be thought of as a one-dimensional layout model that is very helpful in building responsive web pages and organizing page elements more…


Hello Readers,

I am back with my new article where I will be explaining how to create your own monster slayer app using VueJS.

VueJS is a JavaScript framework for building user interfaces. Its core part is focused mainly on the view layer and it is very easy to understand. The version of Vue that we are going to use in this tutorial is 2.0. The core library is focused on the view layer only and is easy to pick up and integrate with other libraries or existing projects. …


Concurrency Model: The concurrency model in java is defined as the model which is responsible for carrying out the communication between the threads in the system which is responsible for carrying out the large or executing the large process running in the system along with proper synchronization to prevent partial reading or writing of the final value in the program which is running in the system.

Distributed Systems: Distributed system in computing is defined as a system where components of the software are connected or shared among different distributed computers in order to increase the efficiency of the system.

Different…


Fasal 3.0 AI device deployed in one of the farms

Recently I interviewed with Fasal for 6 months internship as a Product Engineering Intern. I applied to Fasal through Linkedin and was fortunate enough to have an interview with the team. The whole interview process was smooth and virtual due to covid-19, I appeared for the process from my home.

There were a total of 5 rounds, the first round was a takeaway assignment, the second round was with the Technical Lead, the third round was with the CEO, the fourth round was with the Product and Operations Manager and finally the last round was with the Founder.


Hello Readers,

I am back with one of my new articles on Git Commands Which Every Developer Should Know! in this article we will be learning various git commands and how to use them while we are making any changes to an existing repository or while we are creating any new repository.

What is a Version Control System?

Now, many of you must have used GitHub or any other related version control systems which would help you to make changes to your project while more than one person is contributing to it or is working on it. It basically helps…

Swapnil Kant

Hi, I am Swapnil Kant, an avid programmer, and a full-time learner! One who is highly interested in Algorithm Optimization and Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store