Aditya Chatterjee's Blog, page 55
February 7, 2023
Cheatsheet for Search algorithms
This is the complete cheatsheet for all the Searching Algorithms that will act as a summary of each concepts including time complexity, key weakness and strengths.
Search algorithms are used to find and retrieve information from a database. They are an essential component of modern computer science and are widely used in many applications, such as web search engines, online shopping, and recommendation systems.
Search Algorithms for ArraysSearch AlgorithmsBest Time ComplexityAverage Time Compl...Semantic Segmentation for Self-driving cars

Environmental perception and scene understanding are very important aspect within the field of autonomous vehicles that provides crucial information for the car to take decisions, including but not limited to detecting surrounding obstacles, identifying traffic light, and measuring distances. Semantic Segmentation is a widely known perception method that is used in self-driving cars. It partitions an image into several coherent semantically meaningful parts and classifies each part into one of t...
BERT for Legal Document Classification: A Study on Adaptation and Pretraining
The field of natural language processing (NLP) has seen remarkable progress in recent years, particularly in the area of deep learning. This progress has contributed to the effective performance of NLP tasks on legal text documents, including violation prediction, overruling prediction, legal judgment prediction, legal information extraction, and court opinion generation. One of the most promising models in NLP is Bidirectional Encoder Representations from Transformers (BERT), wh...
Typing Speed Test in Java
In this article, we have developed a command line tool to test typing speed for the user. We have implemented this in Java Programming Language. This is a strong addition to a SDE portfolio.
We'll discuss:
IntroductionFeaturesBasic Idea of ImplementationTypingTest ClassIntroductionConstructortypeFullText()typeInOneMinute()displayResult()TimerThread inner classMain ClassExampleUse of MultithreadingConclusion
Typing speed is an essential skill in the digital world we live in ...
February 4, 2023
30+ Computer Vision Projects
In this article, we will explore over 30 Computer Vision (CV) projects that will help boost your portfolio. We will discuss in brief each project along with the models used, datasets used, project domain, codebase and research paper.
Object Detection involves detecting instances of objects in images or videos. It involves identifying and localizing objects within an image and classifying them into pre-defined categories.
Models: MobileNet SSD or YOLO
Different ways to delete elements in an array in JavaScript
In this article, we will explore 5 different ways to delete elements in an array in JavaScript Programming Language.
What is an array?First, let's talk about arrays.An array is a data structure that holds values in an ordered way. These values can be types of strings, numbers, booleans, objects, and other arrays and they are enclosed in square brackets. Each value or element has its own index. Indexes are numbers, which indicate the position of the elements, for example, since arrays start w...
Spell Checker Console Application in Java
In this article, we will develop a spell checker application which checks for spelling mistakes in our input and also suggest possible corrections. We will implement this tool in Java Programming Language.
IntroductionSpell checking is an essential tool for anyone who writes frequently, whether it be for work or personal use.A spell checker can quickly identify and correct spelling errors in your writing, saving you time and avoiding embarrassment.In this article, we will be discussing a sp...
Print text in color in C and C++
Printing text in color can add visual appeal to your C/C++ programs and make them more user-friendly. In this article, we will explain how to print text in color by using escape sequences in C and C++ Programming Language.
In C/C++, you can print text in color by using ANSI escape codes. These codes are special characters that are interpreted by the terminal to change the text color or other formatting options.
Table of contents:
Method 1: Using escape sequences in CMethod 2: Using system() fu...February 2, 2023
5 Different ways to initialize Set in C++ STL
Set in C++ STL is a powerful data structure to maintain unique objects in sorted order. There are 5 different ways to initialize a set in C++ which we have covered in depth with C++ code examples.
The 5 Different ways to initialize Set in C++ STL:
Default ConstructorInitializer ListCopy ConstructorRange ConstructorMove ConstructorWe will dive into each method.
1. Default ConstructorIt creates an empty set. Elements can be added to the set using the .insert() command.
#include #include ...February 1, 2023
Snake Game with Reinforcement Learning (RL)
In this article, we will explain a codebase where the classic Snake Game is developed using Reinforcement Learning. It means the agent/snake learns to move on it's own, avoid the collisions, and eat the food.
IntroductionReinforcement learning is a machine learning method where an agent learns to act in an environment depending on the rewards and punishments it gets. Using different algorithms, an agent is trained to complete a task without any human interaction.
For this project, we are using ...