DEV Community

# dsa

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Alert Using Same Key-Card Three or More Times in a One Hour Period

Alert Using Same Key-Card Three or More Times in a One Hour Period

Comments
2 min read
Minimum Time to Complete Trips

Minimum Time to Complete Trips

Comments
2 min read
Flower Planting With No Adjacent

Flower Planting With No Adjacent

Comments
2 min read
Koko Eating Bananas

Koko Eating Bananas

Comments
1 min read
Number of 1 Bits

Number of 1 Bits

Comments
1 min read
Pascal's Triangle

Pascal's Triangle

Comments
1 min read
Minimum Cost of Buying Candies With Discount

Minimum Cost of Buying Candies With Discount

4
Comments
2 min read
Minimum Cost to Move Chips to The Same Position

Minimum Cost to Move Chips to The Same Position

Comments
1 min read
Number of Pairs of Strings With Concatenation Equal to Target

Number of Pairs of Strings With Concatenation Equal to Target

Comments
1 min read
Single Number II

Single Number II

Comments
1 min read
Largest Rectangle in Histogram

Largest Rectangle in Histogram

Comments
2 min read
Group the People Given the Group Size They Belong To

Group the People Given the Group Size They Belong To

Comments
2 min read
Swap Nodes in Pairs

Swap Nodes in Pairs

1
Comments
1 min read
Remove One Element to Make the Array Strictly Increasing

Remove One Element to Make the Array Strictly Increasing

1
Comments
1 min read
Nth Digit

Nth Digit

2
Comments
1 min read
Number of Ways to Divide a Long Corridor

Number of Ways to Divide a Long Corridor

1
Comments
2 min read
Smallest Good Base

Smallest Good Base

1
Comments
1 min read
Javascript: Sum diagonal and counter diagonal elements of n * n matrix

Javascript: Sum diagonal and counter diagonal elements of n * n matrix

11
Comments 1
1 min read
SubArray/SubString

SubArray/SubString

8
Comments
1 min read
How to Rotate an Array in Java

How to Rotate an Array in Java

7
Comments
2 min read
Linear Search

Linear Search

4
Comments
2 min read
Water Bottles

Water Bottles

3
Comments 1
1 min read
Function Composition in Javascript

Function Composition in Javascript

10
Comments
1 min read
Merging two arrays and sort the resultant without sort functions using recursion in Javascript

Merging two arrays and sort the resultant without sort functions using recursion in Javascript

18
Comments
1 min read
Search in Rotated Sorted Array - Python

Search in Rotated Sorted Array - Python

6
Comments
1 min read
Min Stack - InterviewBit Problem

Min Stack - InterviewBit Problem

7
Comments
5 min read
Diffk Solution - Interviewbit

Diffk Solution - Interviewbit

8
Comments
2 min read
Java HashMaps:5 Important things to getting Started

Java HashMaps:5 Important things to getting Started

6
Comments
3 min read
Find First and Last Position of Element in Sorted Array - Python

Find First and Last Position of Element in Sorted Array - Python

5
Comments
1 min read
Arrays | Must-known DSA Array Techniques

Arrays | Must-known DSA Array Techniques

8
Comments
3 min read
Time Complexity of Algorithms Explained with Examples

Time Complexity of Algorithms Explained with Examples

6
Comments
3 min read
A Guide to grinding Leetcode

A Guide to grinding Leetcode

3
Comments
4 min read
30 Days of Code | Python DSA.

30 Days of Code | Python DSA.

7
Comments
1 min read
Min-Max-Sum hacker rank solution

Min-Max-Sum hacker rank solution

12
Comments 2
1 min read
Staircase Problem solution hacker rank

Staircase Problem solution hacker rank

9
Comments
1 min read
Two Pointer Method to find two numbers

Two Pointer Method to find two numbers

5
Comments
1 min read
[Leetcode]1552. Magnetic Force Between Two Balls - Python Solution

[Leetcode]1552. Magnetic Force Between Two Balls - Python Solution

5
Comments
1 min read
Binary search in simple phrase.

Binary search in simple phrase.

7
Comments
1 min read
Path Sum(code and Explanation)

Path Sum(code and Explanation)

7
Comments
2 min read
Big O notation explained: DSA-01

Big O notation explained: DSA-01

6
Comments
2 min read
Binary Tree | the best 5 coding questions you must solve

Binary Tree | the best 5 coding questions you must solve

5
Comments 2
4 min read
N-Queens

N-Queens

5
Comments
3 min read
Maximum Subarray Sum

Maximum Subarray Sum

5
Comments
1 min read
Bit Manipulation

Bit Manipulation

5
Comments
3 min read
Maximum Product Subarray

Maximum Product Subarray

4
Comments
1 min read
Maximum Subarray Sum

Maximum Subarray Sum

5
Comments
1 min read
Data Structure and Algorithms with JS - Part 1 : Arrays

Data Structure and Algorithms with JS - Part 1 : Arrays

7
Comments
13 min read
Data Structures every Web Developer should know

Data Structures every Web Developer should know

90
Comments 5
2 min read
Number of Connected Components in an Undirected Graph

Number of Connected Components in an Undirected Graph

5
Comments
1 min read
Graphs in Python

Graphs in Python

10
Comments
3 min read
Number of 1 Bits

Number of 1 Bits

4
Comments
1 min read
Binary Tree – How to implement using Javascript in 2022?

Binary Tree – How to implement using Javascript in 2022?

7
Comments
5 min read
Sum of Two Integers without Arithmetic operators

Sum of Two Integers without Arithmetic operators

17
Comments 4
2 min read
Find Missing Number in an Array.

Find Missing Number in an Array.

5
Comments
2 min read
Longest Consecutive Sequence

Longest Consecutive Sequence

6
Comments
2 min read
Merge Intervals

Merge Intervals

4
Comments 3
2 min read
Valid Anagram

Valid Anagram

6
Comments
2 min read
Valid Palindrome

Valid Palindrome

8
Comments
2 min read
Single Number

Single Number

6
Comments
1 min read
Container With Most Water

Container With Most Water

5
Comments
2 min read
loading...