© 2022 Hashnode

#cpp

We're reinventing and expanding what was previously possible with data streaming by building a platform from the ground up for cloud-native computing platforms and by designing a system that’s easy to…

In simple words, static means something which does not change with time, which once allocated does not change throughout the lifetime of the program. It will remain in the memory till the program run…

Problem statement Given a triangle array, return the minimum path sum from top to bottom. For each step, you may move to an adjacent number of the row below. More formally, if you are on index i on th…

Problem statement Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, , and /*. Each operand may be an integer or another expression. Note that division between two integers should truncate t…

C++ developers are in great demand, especially in the field of high-frequency trading, where every microsecond counts, and the power of C++ is essential. C++ is the language that combines the best of …

Programming Languages, The first thing that comes to a beginner's mind, Which programming language I should learn? Is it JavaScript? Is it TypeScript? Is it Rust? If he even picks a language then othe…

Problem statement You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). You have to rotate the image in-place, which means you have to modify the input 2D…

Problem statement You are given an array of positive integers nums and want to erase a subarray containing unique elements. The score you get by erasing the subarray is equal to the sum of its element…

Problem statement Given two version numbers, version1 and version2, compare them. Version numbers consist of one or more revisions joined by a dot '.'. Each revision consists of digits and may contain leading zeros. Every revision contains …

Overview In this task breakdown, we will be looking at sorting characters in strings in order of magnitude of appearance. Most of the time, you have seen the task that involves sorting characters alph…