Category: c / c++
The famous programmers’ Q&A site shows the following image that contains a piece of code when some content is not available. So, what is this? # define v putchar …
The some function in Javascript takes one function callback and returns true if any element in the array passes the test i.e. the function returns true. For example: ages …
Given a List of words, find out the words that can be typed using letters of alphabet on only one row’s of American keyboard like the image below. The …
Given an array of numbers (for simplicity, we use integers), find the maximum value of abs(max left – max right) where we separate the array into two. Mathematically, given …
On Linux, you can search the binaries in the environment PATH variable using the command whereis or which. In here, a simple whereis/which implementation using the Windows Batch command …