Jaideep Singh Sekhonjaideepsekhon.hashnode.dev·Nov 17, 2024Day 1/45Below are the tasks I accomplished today Data structures and Algorithms Revised about Binary Tree, Level Order traversal, DFS traversal and practised 2 new leetcode problem calculating the height of binary tree and checking if the given binary tree i...DiscussProgramming Blogs
Vibhanshu Singhsinghvibhanshusblog.hashnode.dev·Nov 11, 2024Object-Oriented Programming in C++Before we go further, we need to understand what OOP is. Basically, OOP, or Object-Oriented Programming, is one of several programming approaches. It's a set of rules, ideas, or concepts designed to help us solve real-world problems. The main idea be...Discuss·1 likeObject Oriented Programming
Love of a Lifetimelove-in-a-lifetime.hashnode.dev·Nov 11, 2024LeetCode刷题日记最后一个单词的长度 思路 题目明确了提供的字符串以空格隔开每一个单词,要获取到最后一个单词长度,首先需要先获取到最后一个单词。因此可以遍历字符串,以空格作为分隔符来定位最后一个单词串,再获取其长度即可; 具体实现上,我们可以从字符串末尾开始查找,只要查找的字符串没有达到首部,并且目标字符串不是空串的情况下,就移动指针,一直查找,直到定位到第一个非空字符串,这就是周后一个单词的末位索引. 接下来,只需要继续向前查找到下一个空格,表示查找到了最后一个单词的开始字符的前一个位置(此时索引i指向的实际...Discussleetcode
Ravi Kumarravikr126.hashnode.dev·Nov 4, 2024Kadane's Algorithms for FAANG interviewsLet's talk about the most popular and most asked interview questions. 👉 𝐅𝐢𝐧𝐝 𝐭𝐡𝐞 𝐦𝐚𝐱𝐢𝐦𝐮𝐦 𝐬𝐮𝐦 𝐨𝐟 𝐚 𝐜𝐨𝐧𝐭𝐢𝐠𝐮𝐨𝐮𝐬 𝐬𝐮𝐛𝐚𝐫𝐫𝐚𝐲. So how do you solve this question? 🤔So many approaches are there, but the most popular ...Discussdata structures
Samirasamiracppdev.hashnode.dev·Nov 3, 2024𝐂++17 𝐜𝐨𝐩𝐲 𝐞𝐥𝐢𝐬𝐢𝐨𝐧 and 𝐭𝐞𝐦𝐩𝐨𝐫𝐚𝐫𝐲 𝐦𝐚𝐭𝐞𝐫𝐢𝐚𝐥𝐢𝐳𝐚𝐭𝐢𝐨𝐧🎯 In this post, I’d like to discuss 𝐂++17 𝐜𝐨𝐩𝐲 𝐞𝐥𝐢𝐬𝐢𝐨𝐧 and 𝐭𝐞𝐦𝐩𝐨𝐫𝐚𝐫𝐲 𝐦𝐚𝐭𝐞𝐫𝐢𝐚𝐥𝐢𝐳𝐚𝐭𝐢𝐨𝐧 topics I find interesting! 🔗 𝐋𝐢𝐧𝐤 𝐭𝐨 𝐭𝐡𝐞 𝐞𝐱𝐚𝐦𝐩𝐥𝐞:https://lnkd.in/gTwHw9Ef Consider the code example that compil...Discuss·39 readscpp17
Saurabh vermaedunode.hashnode.dev·Oct 3, 2024Linked List (Singly Linked List)Array is a linear data structure.Which has fixed size(contgious memory allocation) and delition and inerstion in Array is difficult. Here the Linked List comes under role. It take the non-contigous memory allocation in (It is implemented on the heap ...Discuss·1 likeDSA
Dilip PatelforDilip Patel's C++ blogcppmastery.hashnode.dev·Sep 30, 2024C++ Naming ConventionsNaming conventions are essential guidelines for writing consistent and readable code. When working with C++, following these conventions ensures that your code remains clear and maintainable. Namespace Names Namespace names should be in all lowercase...Discuss·103 readsC++ Basicscpp
Dilip PatelforDilip Patel's C++ blogcppmastery.hashnode.dev·Sep 30, 2024C++ Compiler, Linker, and Loader: How C++ Work?C++ is a powerful programming language that enables developers to create high-performance applications. Understanding how C++ works involves knowing the process from writing source code to generating an executable binary. This transformation includes...DiscussC++ BasicsC++
Dilip PatelforDilip Patel's C++ blogcppmastery.hashnode.dev·Sep 30, 2024C++ Hello World ProgramIn this C++ tutorial, you're going to learn how to write and execute your first C++ program. Let's get started with Visual Studio Code (VS Code). When developing C++ projects, VS Code is a popular choice due to its lightweight nature and extensive ex...DiscussC++ Basicscpp
Dilip PatelforDilip Patel's C++ blogcppmastery.hashnode.dev·Sep 30, 2024C++ InstallationThis article provides a step-by-step guide to installing and setting up a C++ development environment on Windows and macOS using Visual Studio Code. It covers downloading and installing a C++ compiler, setting up the file path, installing Visual Stud...DiscussC++ Basicscpp