Problem Statement: Given an integer N and an array of size N-1 containing N-1 numbers between 1 to N. Find
Continue readingFind the number that appears once, and the other numbers twice
Problem Statement: Given a non-empty array of integers arr, every element appears twice except for one. Find that single one.
Continue readingIntroduction to Trees
A Tree is a hierarchical data structure that is different from linear data structures like arrays, linked lists, stacks, and
Continue reading21-Day Beginner Coding Challenge By Code Studio
It usually takes 21 days to develop a habit. Here at Code Studio by Coding Ninjas, we have created a
Continue readingLinear Search Algorithm
Problem Statement: Given an array, and an element num the task is to find if num is present in the given
Continue readingPinelabs Interview Experience: SDE: Set 1
Company Name: Pinelabs Job Role: SDE Years of Experience Required: 2.5 Years Drive: Off-Campus (Referral) Preparation for Pinelabs Topics: Data Structures and
Continue readingTurvo Interview Experience: SDE: Set 1
Company Name: Turvo Job Role: SDE Years of Experience Required: 2.5 Years Drive: Off-Campus (Referral) Preparation for Turvo Topics: Data Structures
Continue readingPattern-1: Rectangular Star Pattern
Problem Statement: Given an integer N, print the following pattern. Examples: Example 1: Input: N = 3 Output: * *
Continue readingTime and Space Complexity – Strivers A2Z DSA Course
In this article, we are going to discuss the terms time complexity and space complexity. Here, we will learn the
Continue readingHashing | Maps | Time Complexity | Collisions | Division Rule of Hashing | Strivers A2Z DSA Course
Hashing: Let’s first try to understand the importance of hashing using an example: Given an array of integers: [1, 2,
Continue reading