DEV Community

Algorithms

Heap, Binary Tree, Data Structure it doesn't matter. This tag should be used for anything Algorithm & Data Structure focused.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Solution: Short Encoding of Words (ver. 2)

Solution: Short Encoding of Words (ver. 2)

8
Comments
5 min read
Solution: Wiggle Subsequence

Solution: Wiggle Subsequence

9
Comments
3 min read
Roadmap for beginners to Competitive programming

Roadmap for beginners to Competitive programming

39
Comments
2 min read
Solution: Generate Random Point in a Circle

Solution: Generate Random Point in a Circle

25
Comments
4 min read
Codeforces - How to use Typescript/Javascript like a pro

Codeforces - How to use Typescript/Javascript like a pro

10
Comments
6 min read
Solution: The K Weakest Rows in a Matrix (ver. 2)

Solution: The K Weakest Rows in a Matrix (ver. 2)

9
Comments
5 min read
Solve Leetcode Problems and Get Offers From Your Dream Companies||Minimum Path Sum

Solve Leetcode Problems and Get Offers From Your Dream Companies||Minimum Path Sum

3
Comments
3 min read
UVA 11933 - Splitting Numbers

UVA 11933 - Splitting Numbers

4
Comments
2 min read
Solution: Short Encoding of Words (ver. 1)

Solution: Short Encoding of Words (ver. 1)

6
Comments
4 min read
How to iterate through objects in JAVASCRIPT ?

How to iterate through objects in JAVASCRIPT ?

50
Comments 6
2 min read
Solution: Best Time to Buy and Sell Stock with Transaction Fee

Solution: Best Time to Buy and Sell Stock with Transaction Fee

17
Comments
4 min read
Leetcode 535. Encode and Decode TinyURL [Solution and Discussion]

Leetcode 535. Encode and Decode TinyURL [Solution and Discussion]

6
Comments 80
4 min read
Unbounded Knapsack Problem

Unbounded Knapsack Problem

6
Comments 1
4 min read
Truncate any string(first argument) at a given num integer (second argument)

Truncate any string(first argument) at a given num integer (second argument)

2
Comments
1 min read
Algorithm to repeat a string num time

Algorithm to repeat a string num time

4
Comments
1 min read
Crunching numbers: Algorithms I wrote for Project Euler🧮💻

Crunching numbers: Algorithms I wrote for Project Euler🧮💻

30
Comments
4 min read
Data Structures in JavaScript: Hash Tables

Data Structures in JavaScript: Hash Tables

17
Comments 2
7 min read
Solution: Encode and Decode TinyURL

Solution: Encode and Decode TinyURL

20
Comments
3 min read
JavaScript function which confirms the ending of a word

JavaScript function which confirms the ending of a word

4
Comments
1 min read
Solution: Swapping Nodes in a Linked List

Solution: Swapping Nodes in a Linked List

19
Comments
3 min read
Leetcode 1721. Swapping Nodes in a Linked List [Solution]

Leetcode 1721. Swapping Nodes in a Linked List [Solution]

9
Comments 1
3 min read
Data Structures: Stacks

Data Structures: Stacks

12
Comments
4 min read
What is Big O Notation?

What is Big O Notation?

3
Comments
2 min read
Depth First Search Binary Tree

Depth First Search Binary Tree

10
Comments
3 min read
Stack Patterns

Stack Patterns

1
Comments
2 min read
loading...