Abou Zuhayrblog.zuhayr.codes·Mar 4, 2024WTF is Merge Sort?In the world of computer science, sorting is one of the most fundamental problems. It's about arranging items in a certain order, typically numerical or lexicographical. While this might sound simple, the efficiency of the sorting algorithm can signi...DiscussWhy DSAsorting
Harsh Rajdragon9.hashnode.dev·Mar 1, 2024Product of Array Except Self-DSA ArrayMastering Java: Understanding and Implementing the Product of Array Except Self Algorithm Introduction: In the world of programming, efficiency and optimization are key. One fundamental problem that often arises in algorithmic challenges and real-wor...Discuss100 days codingarray
Harsh Rajdragon9.hashnode.dev·Mar 1, 2024Best Time to Buy and Sell Stock - DSA Array QuestionMaximizing Profit: A Guide to the Best Time to Buy and Sell Stock Using Java Introduction: In the world of stock trading, timing is everything. Investors constantly seek optimal moments to buy and sell stocks to maximize their profits. One popular pr...Discuss100 days codingarray
KATTA SUNIL KUMARforTech Tribes Hubtechtribes.hashnode.dev·Feb 27, 2024OS Essentials: A Concise Cheat Sheet for Last-Minute ReviewOperating System The Operating System is system software that acts as an intermediary between the user and the computer. It manages all the programs and processes that run inside the computer. Types of Operating System Batch Operating System - In th...Discuss·1 like·51 readsoperatingsystems
harsh sehrawatharsehrawat.hashnode.dev·Feb 26, 2024Imp Conceptual LC ProblemQ: 1 -> WORD SEARCH . Code : javaCopy codeclass Solution { public boolean exist(char[][] board, String word) { int row = board.length; int cols = board[0].length; for(int i = 0; i < row; i++){ for(int j = 0; j ...Discuss#DSAinjava
Abou Zuhayrblog.zuhayr.codes·Feb 18, 2024WTF is Bubble Sort?Alright, let's dive into one of the OG sorting algorithms that's as straightforward as it gets, but also kind of a slacker when it comes to big parties (a.k.a. large datasets) - Bubble Sort! It’s like that one simple trick your grandpa insists is the...DiscussWhy DSAdata structures
Chigbogu Orjichigbogu.hashnode.dev·Feb 15, 2024Implementing a stack with an array of fixed sizeIntroduction As discussed in the last episode on stack data structure, we learnt about the various ways a stack could be implemented, as: Linked Lists Arrays and I implemented a stack with singly linked list, here is the link to the previous articl...Discuss·1 likeData Structures and AlgorithmsDSA
Chigbogu Orjichigbogu.hashnode.dev·Feb 14, 2024Implementing Stack Data StructureSTACK Stack is a linear data structure where elements are stored in the LIFO(Last-In, First-Out) principle where the last element inserted would be the first element deleted. In a stack, new nodes are added to and removed from the top of the stack on...Discuss·2 likes·64 readsData Structures and Algorithms#StackAlgorithms
Chigbogu Orjichigbogu.hashnode.dev·Feb 13, 2024Implementing a Singly Linked ListIntroduction A self-referential class contains an instance that refers to another object of the same class type. Programs can link self-referential objects together to form such useful structure as lists, queues, stacks and trees. What is a Linked Li...Discuss·43 readsData Structures and Algorithms#linkedlists
Chigbogu Orjichigbogu.hashnode.dev·Feb 9, 2024Detailed Guide on implementing Queue Data Structure with Linked List in JavaQueue A queue is a linear data structure where elements are stored in a FIRST-IN FIRST-OUT (FIFO) approach, where the first element inserted will be the first element to be accessed. Similarity with Stack A queue is an abstract data structure(ADT), s...Discuss·8 likes·58 readsData Structures and Algorithmswebdev