DEV Community

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Perfect Number

Perfect Number

1
Comments
1 min read
Decompress Run-Length Encoded List

Decompress Run-Length Encoded List

1
Comments
1 min read
Hamming Distance

Hamming Distance

1
Comments
1 min read
Ugly Number II

Ugly Number II

1
Comments
1 min read
Count Special Quadruplets

Count Special Quadruplets

1
Comments
1 min read
Encrypt and Decrypt Strings

Encrypt and Decrypt Strings

Comments
3 min read
Surrounded Regions

Surrounded Regions

1
Comments
2 min read
Convert Binary Number in a Linked List to Integer

Convert Binary Number in a Linked List to Integer

1
Comments
1 min read
Binary Tree Inorder Traversal

Binary Tree Inorder Traversal

1
Comments
1 min read
Climbing Stairs

Climbing Stairs

1
Comments
1 min read
Longest Common Prefix

Longest Common Prefix

1
Comments
2 min read
Reverse String

Reverse String

Comments
1 min read
Closest Divisors

Closest Divisors

Comments
1 min read
Verifying an Alien Dictionary

Verifying an Alien Dictionary

Comments
1 min read
Cells with Odd Values in a Matrix

Cells with Odd Values in a Matrix

Comments
2 min read
Palindrome Partitioning II

Palindrome Partitioning II

Comments
1 min read
Median of Two Sorted Arrays

Median of Two Sorted Arrays

Comments
1 min read
Restore the Array From Adjacent Pairs

Restore the Array From Adjacent Pairs

Comments
2 min read
Validate Binary Search Tree

Validate Binary Search Tree

Comments
1 min read
Broken Calculator

Broken Calculator

Comments
1 min read
Design HashMap

Design HashMap

Comments
2 min read
Minimum Sum of Four Digit Number After Splitting Digits

Minimum Sum of Four Digit Number After Splitting Digits

Comments
1 min read
Find Numbers with Even Number of Digits

Find Numbers with Even Number of Digits

Comments
1 min read
Minimum Insertion Steps to Make a String Palindrome

Minimum Insertion Steps to Make a String Palindrome

Comments
1 min read
Minimum Moves to Reach Target Score

Minimum Moves to Reach Target Score

Comments
1 min read
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
Single Number II

Single Number II

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
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
Remove One Element to Make the Array Strictly Increasing

Remove One Element to Make the Array Strictly Increasing

1
Comments
1 min read
Swap Nodes in Pairs

Swap Nodes in Pairs

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 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
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

6
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

5
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.

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

Min-Max-Sum hacker rank solution

9
Comments 2
1 min read
Staircase Problem solution hacker rank

Staircase Problem solution hacker rank

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

Two Pointer Method to find two numbers

5
Comments
1 min read
loading...