Aditya Chatterjee's Blog, page 210
May 15, 2020
Introduction to Abstract Window Toolkit (AWT) in Java
Abstract Window Toolkit(AWT) is an to create GUI using JAVA for Window based applications.It is said to be platform dependent as it implements itself over the underlying Operating System.Thus,it uses the native components like the windows,panels,dialog and whatever you see on the GUI of your Operating System.It calls the platforms subroutines to implement the functionalities.Depending on the Operating System(platform)the UI will be different from OS to OS.For Example you can see below that...
Ways to convert double to string in C++
There are various ways of converting string to double in the C language; but before going into the ways, let me give you a quick intro to string and double.
C provides the programmers a wide variety of built-in as well as user defined data types. String and double are both data types but they differ in a few respects:
Double is a built-in/primitive data type while std::string is a part of the standard library that comes with the C compiler which can be used after including the string.h...May 14, 2020
Vector::front() in C++ STL
Reading time: 20 minutes | Coding time: 5 minutes
Vector is a sequential container class which is one of the four component of STL(Standard Template Library) in C++. Vector is used to store objects and data .
We have covered front() function of vector container in C++ STL in depth along with differences between front(), begin(), back() and end() Functions.
In arrays where we dedicate fixed amount of memory while declaring it but in vectors there is no such requirement and vector can resize...
Unit Testing in JavaScript with an application as example
Unit Testing is the process of testing the specified block of code to check whether everything is perfectly fine as per developed. It basically run over the specified block and check the output for the given input. It is useful for developers for checking the individual section of code and to identify and fix the errors. The tests are usually run on the frontend of the browser. These tests are contained in a collection which consists of several tests which are designed to be executed for a...
Circular Linked List

Circular Linked list is a complex form of a linked list data structure as within a circular linked list the last node points to the first node of the list.
In other words, the null pointer of the last node is replaced with the address of its first node.

A circular linked list was proposed due to the several advantages it contained over a linked list, such as:
May 13, 2020
Gaussian blur (filter to blur images)

There was this time I made a pizza and wanted to put a fancy photo of it on social media. So I blurred the background to make it look posher. The one on the left is the original and the one on the right is blurred.
This article unfortunately does not examine how to make the pizza, but will ask the other important question - How does blurring the background work?
Background What is a blur filter?A filter takes an image, processes it and returns an output. In this case, the processing is the...
Complete guide on stdlib.h in C
is the header for the General Purpose Standard Library of C programming language which declares a variety of utility functions for type conversions, memory allocation, process control and other similar tasks. It also has multiple data types and macros defined in the header.
To use this header in C, you have to type the following line at the top of your C program:
#includeThe #include specifies inclusion of a system header file named x/*y.
This header can also be used in C by using ...
Text Preprocessing in Python using spaCy library
In this article, we have explored Text Preprocessing in Python using spaCy library in detail. This is the fundamental step to prepare data for specific applications.
Some of the text preprocessing techniques we have covered are:
Tokenization Lemmatization Removing Punctuations and Stopwords Part of Speech Tagging Entity RecognitionAnalyzing, interpreting and building models out of unstructured textual data is a significant part of a Data Scientist's job. Many deep learning applications...
May 11, 2020
Applications of Queue
A queue is a linear data structure that supports First-In-First-Out operation.In this article, we'll be discussing following algorithms and problems that can be solved directly by using queues:
Algorithms
CPU Scheduling(First-Come-First-Serve) Breadth First Search Traversal Level Order Traversal of a tree Edmonds Karp Algorithm Dinic's Algorithm Fibonacci HeapProblems
Maximum for each continuous subarray Maximum amount that can be collected by selling spots Odd even level differenceSo,...
Types of Queue and their implementations
Theoretically, a queue is considered as a sequential collection of entities which can be modified by the addition of entities at one end of the sequence known as the rear end and removal from the other end of the sequence known as the front end of the queue. It is an abstract data type in which the data is arranged in a linear fashion.
We have explored the types of queue along with its implementations.
All the operations that are performed in the queue are performed primarily on a first...


