Aditya Chatterjee's Blog, page 10
December 31, 2023
Sell RSU and ESPP in India [with Purpose Code] - Maximize Return
Optimizing the sale of Restricted Stock Units (RSUs) and Employee Stock Purchase Plans (ESPPs) from foreign brokerages demands a strategic and comprehensive approach. This OpenGenus guide, tailored for Indian residents, provides insights and strategies to maximize returns while efficiently managing costs, including GST charges. Additionally, we'll explore the significant advantages of leveraging indexation in the context of RSU and ESPP transactions.
Table of contents:
Unified Strategy: Navigat...December 27, 2023
Master Greedy Algorithm with 7 Basic Problems [Solution + Code included]
![Master Greedy Algorithm with 7 Basic Problems [Solution + Code included]](https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/hostedimages/1705036437i/35111910.png)
In this article at OpenGenus, we will discuss the about how to master greedy algorithms by solving 7 basic problems using greedy algorithmic ideas.
TABLE OF CONTENTValid Palindrome2Queue Reconstruction By HeightShortest unSorted Continous SubarrayDota 2 SenateValid Paranthesis StringCan Place Flowerspatching ArrayOther Applications of greedyProblem 1: Valid Palindrome IIStatement : We have been given a string and we have to delete single character from it to make string palindrome.
R...
Queue::emplace in C++ STL
In this article at OpenGenus.org, we will discuss emplace method of Queue container in C++ STL.
Questions regarding emplace that will be answered in this article will be:
What does the emplace function in the Queue class do?What are the benefits of using the emplace function?What is the time complexity of the emplace function?Are there situtations when using emplace has no benefit?What are the practical applications of the emplace function?1. What does the emplace function in the Queue cl...December 26, 2023
Vector Databases: Long-term Memory of LLMs

In the rapidly evolving landscape of artificial intelligence, Large Language Models (LLMs) have become the cornerstone of various applications, from natural language processing to content generation. These models, such as GPT-3 and its successors, demonstrate unparalleled language understanding and generation capabilities. However, the...
Virtual Memory in OS
December 25, 2023
Authentication and Authorization in Node.js: A Comprehensive Guide
2.1 Project StructurePrerequisitesStep 1 - Create a directory and initialize npmStep 2 - Create files and directoriesStep 3 - Install DependenciesStep 4 - Set Up Express AppStep 5 - Create ModelStep 6 - Implement Authentication LogicStep 7 - Implement Authorization LogicStep 8 - Implement Authorization LogicStep 9 - Public Files Completion, Testing, and ConclusionIntroduction
In the ever-evolving landscape of web develo...
Task Tracking App: A Comprehensive Guide to CRUD Operations with Express.js
In the fast-paced world of web development, an application's ability to perform CRUD operations (Create, Read, Update, Delete) is essential for a robust and user-friendly experience. In this OpenGenus guide, we will enhance our task tracking app by implementing update and delete functionality using Express.js. This expansion will provide users with a more dynamic and interactive task management system.
How to Use the Task Tracking AppOur task tracking app offers a straightforward user interfac...
Build a Timestamp Microservice in JavaScript (Nodejs)
In this code-driven tutorial at OpenGenus, we will build a Timestamp Microservice in JavaScript using the Express.js framework. This microservice accepts a date as a parameter and returns its Unix timestamp and UTC time. We will cover each step in detail, from project setup to error handling.
Introduction: Understanding the ProjectTimestamp Microservices are a critical component of modern web and software architecture. They are a subset of microservices that serve a specific purpose related to ...