Data Structures and Algorithms
Leetcode 217: Contains Duplicate
This question marks the first problem when working on duplicate data, either integers or strings etc. Companies that have asked this in their coding interview are Amazon, Apple, Netflix, Google, Microsoft, Adobe, Facebook, and many more top tech companies. Problem statement Given an integer array nums, return true if any
Leetcode 121: Best Time To Buy and Sell Stock
The Best time to buy and sell stock problem is a classic problem that can be solved using the Greedy approach. This is one of the most popular questions asked in such interviews. Companies that have asked this in their coding interview are Facebook, Amazon, Apple, Netflix, Google, Microsoft, Adobe,
Find Even Number Of Digits in an Array
This problem tests your knowledge of mathematics. Solving this problem helps you find the place values and how they are represented in the decimal number system.
Array Strengths, Weaknesses, and Big-O Complexities
In this lesson, you will learn about array strengths and weaknesses along with the big-o complexities.
Find Largest Value In an Array
In this lesson, you will learn how to approach the problem, and come up with different strategies to solve the problem.
Leetcode 1: Two Sum Problem
In this article, you will acquire knowledge of different strategies to address the fundamental and timeless interview inquiries posed by numerous organizations.
Find Duplicate Element
In this lesson, you will learn how to find the duplicate element using a hashing algorithm.
How To Print a 2D Array Elements?
This lesson teaches you how to iterate through a 2D array of integers. The same follows with other data types.
Introduction To 2D Arrays
This article is an introductory lesson on 2D array ds with sketches, and memory diagrams with examples.
Array Length vs. Capacity
Array capacity is how many items an array can hold, and array length is how many items an array currently has.