r/datastructure • • Dec 29 '18

What is Stack in Data Structures

Thumbnail tutorialride.com
4 Upvotes

r/datastructure • • Aug 09 '20

Amazon Coding Interview | Longest Common Substring Dynamic programming |...

Thumbnail
youtube.com
3 Upvotes

r/datastructure • • Jun 28 '20

Python program for merge sort

Thumbnail
itvoyagers.in
3 Upvotes

r/datastructure • • Jun 19 '20

Python program for Insertion sort

Thumbnail
itvoyagers.in
3 Upvotes

r/datastructure • • Jun 15 '20

Program to implement stack using linked list

Thumbnail
itvoyagers.in
3 Upvotes

r/datastructure • • Jun 15 '20

Heap Sort Explained

Thumbnail
youtu.be
3 Upvotes

r/datastructure • • Jun 06 '20

Algorithm and Flowchart for Stack using Arrays

Thumbnail
atechdaily.com
3 Upvotes

r/datastructure • • Jun 06 '20

Binary Tree Implementation in Python

Thumbnail
atechdaily.com
3 Upvotes

r/datastructure • • Jun 02 '20

Understand datastructures with python

Thumbnail
itvoyagers.in
3 Upvotes

r/datastructure • • May 31 '20

Depth First Search (DFS) Pseudocode and Program in Java

Thumbnail
atechdaily.com
3 Upvotes

r/datastructure • • May 25 '20

LeetCode - #9 Pelindrome Number Explained | Python Solution

Thumbnail
youtube.com
3 Upvotes

r/datastructure • • May 10 '20

#3 Longest Substring Without Repeating Characters Explained | Python Sol...

Thumbnail
youtube.com
3 Upvotes

r/datastructure • • Nov 12 '19

Everything you need to know about tree data structure

3 Upvotes

Everything you need to know about tree data structure

A recommended blog post about tree data structure.


r/datastructure • • Nov 08 '19

Data Structure Interview Questions

Thumbnail
javatpoint.com
3 Upvotes

r/datastructure • • Oct 13 '19

Is there any pattern in the data structure question by applying them, it would be possible to reach to the solution .

3 Upvotes

for example 2 pointer technique is there, are there any other techniques also present ?


r/datastructure • • Jan 31 '19

Python Panda’s in modern C++

3 Upvotes

Last year I implemented a Pandas like data frame in C++. Since then, I have added a lot more functionality and documentation including views and a cool date/time class.

I appreciate your constructive criticism/suggestions.

https://github.com/hosseinmoein/DataFrame


r/datastructure • • Jan 01 '19

Lower Bounds: Omega

3 Upvotes

Big Omega notation is used to define the lower bound of any algorithm or we can say the best case of any algorithm.

This always indicates the minimum time required for any algorithm for all input values, therefore the best case of any algorithm.

In simple words, when we represent a time complexity for any algorithm in the form of big-Ω, we mean that the algorithm will take atleast this much time to cmplete it's execution. It can definitely take more time than this too.


r/datastructure • • Jan 01 '19

Upper Bounds: Big-O

3 Upvotes

This notation is known as the upper bound of the algorithm, or a Worst Case of an algorithm.

It tells us that a certain function will never exceed a specified time for any value of input n.

The question is why we need this representation when we already have the big-Θ notation, which represents the tightly bound running time for any algorithm. Let's take a small example to understand this.

Consider Linear Search algorithm, in which we traverse an array elements, one by one to search a given number.

In Worst case, starting from the front of the array, we find the element or number we are searching for at the end, which will lead to a time complexity of n, where n represents the number of total elements.

But it can happen, that the element that we are searching for is the first element of the array, in which case the time complexity will be 1.

Now in this case, saying that the big-Θ or tight bound time complexity for Linear search is Θ(n), will mean that the time required will always be related to n, as this is the right way to represent the average time complexity, but when we use the big-O notation, we mean to say that the time complexity is O(n), which means that the time complexity will never exceed n, defining the upper bound, hence saying that it can be less than or equal to n, which is the correct representation.

This is the reason, most of the time you will see Big-O notation being used to represent the time complexity of any algorithm, because it makes more sense.


r/datastructure • • Jan 01 '19

Types of Asymptotic Notations

3 Upvotes

We use three types of asymptotic notations to represent the growth of any algorithm, as input increases:

  1. Big Theta (Θ)

  2. Big Oh(O)

  3. Big Omega (Ω)


r/datastructure • • Oct 18 '20

How to Build Queue using Stack?

2 Upvotes

I have written an article on how to build queue using stack check it out and give me suggestions for improvement.

https://literacis.com/blog/detail/-build-queue-using-stack-5f8bcccc486edd65bfd9dafa


r/datastructure • • Sep 15 '20

Python Objects and basics of Python Data structure

2 Upvotes

r/datastructure • • Sep 02 '20

Infix To Prefix Conversion Using Python

Thumbnail
itvoyagers.in
2 Upvotes

r/datastructure • • Aug 22 '20

Binary Tree Root to Leaf Path | Leetcode 257 | One Of The Most Asked Question in Product Firm Inteviews

Thumbnail
youtube.com
2 Upvotes

r/datastructure • • Aug 12 '20

Stack based interview problems |Problem Solving using Data Structures an...

Thumbnail
youtube.com
2 Upvotes

r/datastructure • • Jun 13 '20

Python program for bubble sort

Thumbnail
itvoyagers.in
2 Upvotes