Data-Structures-and-Algorithms
Data-Structures-and-Algorithms copied to clipboard
A repository to help the open-source community with DSA related contributions
Please assign me this topic under hacktoberfest or hacktoberfest-accepted tag
hi I want to add 2 question in Linked List folder ( C++ ) 1. Merge Two Sorted Linked List 2. Detect and remove loop in a Linked List Please...
given a special linked list with N nodes where each node has a next pointer pointing to its next node. You are also given M random pointers, where you will...
Program 1: Inorder Binary Tree Program 2: Postorder Binary Tree Program 3: Preorder Binary Tree Program 4: Height of Binary Tree
C# Solution to Problem 191 - Number of 1 Bits Runtime: 45 ms Memory Usage: 22.4 MB
class TimeMap { public: unordered_map mp; TimeMap() { mp.clear(); } void set(string key, string value, int timestamp) { mp[key].insert({timestamp, value}); } string get(string key, int timestamp) { if(mp[key].size() != 0){...
Completed issue number #425 Please merge this pull request under hacktoberfest 2022.