Asfak Ahmedasfakahmedsblog.hashnode.dev·6 hours agoBasic DSA শিখি আমার মাতৃভাষায়Algorithms Big O Notation \> Big-O notation হচ্ছে আমাদের কোনো একটা function এর ইনপুট বাড়ার সাথে সাথে কতটা টাইম কমপ্লেক্সিটি ও কতটা স্পেস কমপ্লেক্সিটি হচ্ছে সেটা নির্ণয় করা। এটি একটি টুল যার সাহায্যে কোনো একটা অ্যালগরিদমের রানটাইমের উপর ভিত্তি করে টাই...Discussdsa with js
Anushka Joshiloops.hashnode.dev·10 hours agoDoubly Linked listA doubly linked list (DLL) is a type of linked list where each node has a pointer to both the previous node and the next node. SNOperationDescription 1Insertion at beginningAdding the node into the linked list at beginning. 2Insertion at end...DiscussIntroduction to Data structures and algorithms2Articles1Week
Fatima Jannatmahia.hashnode.dev·a day agoPython Linked Lists : Easy Steps to Get StartedEver wondered how efficiently Python handles data connections? Linked lists are a powerful data structure for managing connections and dynamic memory. Unlike arrays, they store elements in separate nodes linked together. Let's explore how Python effi...DiscussPython
Umang Srivastavaoutlierchronicles.hashnode.dev·May 18, 202422. Generate ParenthesesProblem Statement Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Examples Example 1: Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"] Example 2: Input: n = 1 Output: ["()"] ...Discuss·10 likesRecursionleetcode
Anushka Joshiloops.hashnode.dev·May 18, 2024Singly Linked ListA singly linked list is a type of linked list where each node has just one link pointing to the next node. Linked List Operations: Traverse, Insert and Delete There are different linked list operations that let us do various tasks on linked lists. F...DiscussIntroduction to Data structures and algorithms2Articles1Week
Jyotiprakash Mishrablog.jyotiprakash.org·May 17, 2024DSA: Problems on Recursion, Pointers, and Dynamic AllocationReverse a String: Write a recursive C program to reverse a given string. The program should take a string as input and return its reverse. Fibonacci Sequence: Write a recursive C program to find the n-th number in the Fibonacci sequence, utilizing m...Discuss·49 readsDSA
Mr. Anonymousmagician01.hashnode.dev·May 17, 2024Understanding Dijkstra's Algorithm: A Complete GuideGiven a weighted graph and a source vertex, find the shortest paths from the source to all other vertices in the graph. Note: The given graph does not contain any negative edge. Algorithm Create a set sptSet (shortest path tree set) that keeps track...DiscussDSA
Anushka Joshiloops.hashnode.dev·May 17, 2024Heap SortHeap sort processes the elements by creating the min-heap or max-heap using the elements of the given array. Min-heap or max-heap represents the ordering of array in which the root element represents the minimum or maximum element of the array. Heap ...DiscussIntroduction to Data structures and algorithms2Articles1Week
Kallol Bairagikallolbairagi.hashnode.dev·May 16, 2024DP #1143 Longest Common Subsequenceclass Solution { public int longestCommonSubsequence(String text1, String text2) { int i = text1.length(), j = text2.length(); // int[][] dp = new int[i][j]; // for (int[] r : dp) // Arrays.fill(r, -1); // ...DiscussDynamic-Programming-BeastDSA
Anushka Joshiloops.hashnode.dev·May 16, 2024Quick SortThe working procedure of Quicksort is also simple. This article will be very helpful and interesting to students as they might face quicksort as a question in their examinations. So, it is important to discuss the topic. Sorting is a way of arranging...DiscussIntroduction to Data structures and algorithms2Articles1Week