Binary Search Algorithm
Looking for a certain value in a sorted array is very simple as it seems.
Bubble Sort Algorithm
How to check a phrase in a string
Checking an existence of a string in a string is very tricky sometimes. Spec...
How to deep copy objects in Javacsript
How to replace two or more spaces with a single space
var str = "class Main extends App"
How to round number between two given numbers
I was working one time and as I was solving my little problem. I need to fin...
Replace all occurences of a string in a string
Let's say we want to replace the word Hello in Hello World with the word Hi ...
Engr. Jumar Hamac
Electronics Engineer by Profession.
Loves coding and painting.