NoSQL – Database Interview Questions for Beginner-DB-01

Questions: Can you design a Users schema containing the fields id, name, age, city, and hobbies? Please choose appropriate data types for each field and provide a reason for the selection. Answer: 1. Create a users collection 2. Define a schema: Explanation for data type selection: Create a schema using mongoose: 3. Insert a document … Read more

Database Interview Questions for Beginner-DB-01

How to generate uuid in PostgreSQL? Answer: To generate a uuid first we have to create an extension if not exists Then use the following command to generate uuid What is the data type of uuid in PostgreSQL? Answer: The uuid data type in PostgreSQL is used to store UUID values. It represents a UUID … Read more

Building a Strong Foundations in DSA with Recursion-DSA-10

Basics DSA problems in Recursion Reminder: If you are a beginner, it is recommended to learn things in a sequential manner to gradually level up your skills. Following a step-by-step approach will provide a solid foundation and make your learning journey more effective Question: What is Recursion? Answer: Recursion is a programming concept in which a … Read more

Building a Strong Foundations in DSA with Stack-DSA-11

Basics DSA problems in Stack Reminder: If you are a beginner, it is recommended to learn things in a sequential manner to gradually level up your skills. Following a step-by-step approach will provide a solid foundation and make your learning journey more effective Question: What is Stack? Answer: A stack is an abstract data type that … Read more

Building a Strong Foundations in DSA with Binary Search-DSA-09 

Basics DSA problems in Binary Search Question: What is Binary Search? Answer: Binary search is a search algorithm used to find the position of a target value within a sorted array or list. It follows the divide-and-conquer approach, repeatedly dividing the search space in half until the target value is found or determined to be … Read more

Building a Strong Foundations in DSA with HashTables-HashSet continues-DSA-08

Basics DSA problems in HashTable continues Leetcode Problem – Two Sum Solution. Method 1: Using Map Time Complexity: O(n) Space Complexity: O(n) Tips to optimise! Try the above code by updating with the below one and observe time complexity. Leetcode Problem – Check Distances Between Same Letters Solution. Method 1: Using array Method 2: Using HashTable Time … Read more

Building a Strong Foundations in DSA with HashTables-HashSet-DSA-07

Basics DSA problems in HashTable Reminder: If you are a beginner, it is recommended to learn things in a sequential manner to gradually level up your skills. Following a step-by-step approach will provide a solid foundation and make your learning journey more effective Question: What is HashTable in JavaScript? Answer: In JavaScript, a HashTable is a … Read more

Introduction to Building a Strong Foundations in Data Structures and Algorithms-DSA-00

Building the Pillars of Problem Solving: Laying the Foundation in Data Structures and Algorithms Reminder: If you are a beginner, it is recommended to learn things in a sequential manner to gradually level up your skills. Following a step-by-step approach will provide a solid foundation and make your learning journey more effective Prerequisite: These course is … Read more

Building a Strong Foundations in DSA with Array Manipulation-DSA-05

From Arrays to Algorithms: Journeying Through the Basics of Problem Solving Reminder: If you are a beginner, it is recommended to learn things in a sequential manner to gradually level up your skills. Following a step-by-step approach will provide a solid foundation and make your learning journey more effective Let us start string with an … Read more

Building a Strong Foundations in DSA with Mathematical Problem Solving-DSA-06

Solving a basic mathematic fundamental problem Reminder: If you are a beginner, it is recommended to learn things in a sequential manner to gradually level up your skills. Following a step-by-step approach will provide a solid foundation and make your learning journey more effective Write a program to print an odd-even number Solution: Time complexity: … Read more