Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Classification of Algorithms with Examples
Classification of algorithms helps in selecting the most suitable one for a specific task, enabling developers to optimize their code and achieve better performance. In computer science, algorithms are sets of well-defined instructions used to solve problems or perform specific tasks. The efficiency and effectiveness of these algorithms are crucial in determining the overall performance of a program. In this article, we will discuss two common approaches for classifying algorithms, namely, based on their time complexity and based on their design technique. Syntax The syntax of the main function used in the codes for both approaches − int ...
Read MoreCount K-length subarrays whose average exceeds the median of the given array
The expression "K-length subarrays" pertains to successive subarrays having precisely K elements. Grasping and working with subarrays is crucial for resolving various issues in fields such as dynamic programming, computational geometry, and data analysis. Another vital concept in array manipulation and statistics is the median. The median of an array represents the middle value when the elements are sorted in ascending order. In the case of an even number of elements, the median is the average of the two central values. The median constitutes a durable measure of central tendency, as it is less vulnerable to extreme values or outliers ...
Read MoreQueries to find the Minimum Weight from a Subtree of atmost D-distant Nodes from Node X
When engaged in computer programming, it is sometimes necessary to locate the minimum weight of a subtree that originates from a specific node, with the condition that the subtree must not contain any nodes farther than D units away from the specified node. This problem arises in various fields and applications, including graph theory, tree-based algorithms, and network optimization. The subtree constitutes a subset of a larger tree structure, with the specified node serving as the root of the subtree. The subtree encompasses all the descendants of the root node and their connecting edges. The weight of a node refers ...
Read MoreQueries to find the Lower Bound of K from Prefix Sum Array with updates using Fenwick Tree
A foremost series summation array is an assemblage that accumulates the sum of interlacing elements up to an express index. It is a widely utilized tactic in the reconfiguration of assemblages to refine time complexity. Fenwick Tree, also recognized as Binary Indexed Tree (BIT), is a form of database that proficiently modernizes components and computes a preceding series summation in logarithmic time complexity. Within this article, we shall confer on how to disclose the lesser extreme boundary of a given value, referred to as K, from a series summation array with modernizations utilizing Fenwick Tree in C++. Syntax The ...
Read MoreQueries to check if vertices X and Y are in the same Connected Component of an Undirected Graph
Graph theory encompasses the study of connected components, which are subgraphs in an undirected graph where every pair of vertices is linked by a path, and no other vertices are connected to it. In this article, we will delve into the utilization of the C/C++ programming language to determine if two vertices, X and Y, belong to the same connected component in an undirected graph. We will elucidate the syntax and rationale of the method before elucidating at least two diverse approaches to tackle this problem. Furthermore, we will provide concrete code examples and their corresponding outcomes for each ...
Read MoreQueries to find the count of connected Non-Empty Cells in a Matrix with update
A matrix can be thought of as a collection of cells organized in rows and columns. Each cell can contain a value, which can be either empty or non-empty. In computer programming, matrices are commonly used to represent data in a two-dimensional grid. In this article, we will discuss how to efficiently count the number of connected non-empty cells in a matrix, taking into account possible updates to the matrix. We will explore different approaches to solve this problem and provide real code examples to demonstrate the implementation. Syntax The basic syntax for querying the count of connected non-empty cells ...
Read MoreExcellent Marketing Initiatives by Victoria\'s Secret
Introduction Companies have to struggle a lot to position themselves in the minds of their customers and the general public at large, so when companies are here to fight the taboo, sell products that are now loudly talked about, products that have shame associated with them, and it becomes all the more difficult. However, Victoria's Secret is a brand that has not only fought the taboo and conquered the shame but also won over customers' hearts. Victoria's Secret has started a revolution when it comes to ladies’ undergarments. In this article, we will be understanding the birth, growth trajectory, and ...
Read MoreWays To Remove Bias From Your Hiring Process
Introduction Diversity, Equity, Inclusion, and Belonging are not just terms but powerful weapons that can build an organization and drive it to success. DEIB means an organization that is ready to accept people from different walks and backgrounds of life and also encourages them to speak their hearts out. Out is a feeling in which the diversified workforce feels as big a part of the organization as any other employee. In this tutorial, we will be understanding the various ways to remove bias from your hiring process and the benefits of the DEIB organization. Various Ways to Remove Bias from ...
Read MoreExcellent Marketing Initiatives by Zomato
Introduction Companies are only successful in this Volatile, Uncertain, Complex, and Ambiguous (VUCA) world if they are solving customer problems. Necessity is the mother of innovation and the reason for the birth of start-ups. Companies that are human and customer-centric always find their way out in the blue ocean or the red ocean markets. Zomato is one such company that has sailed through the waves of time and cutthroat competition. Zomato today is a household name in the Indian market and a brand that has a reputation for being innovative, having impactful marketing communication, and providing employment opportunities to hundreds ...
Read MoreWhich are the Marketing Strategies used by Meesho?
Introduction There are new businesses opening every minute. Among this tide of businesses, the only ones that reach the shore are the ones that are dedicated to serving customers and understanding in actual terms what customers need. Meesho is one such online platform that understood what the community needs and started its startup with the goal of improving the lives of the community and giving the offline store the required digital boost. In this article, we will be diving deep into the birth, the growth trajectory, and the excellent marketing initiatives of Meesho. The Birth and Growth Trajectory of ...
Read More