Code Morsels!
About
Languages
C++
Microprocessor
PHP
Python
Goodies
eBooks
Downloads
You are here:
Home
»
About
About
Under construction ;)
Home
Labels
CPP
(2)
General
(1)
Microprocessor
(1)
PHP
(1)
python
(1)
Followers
Popular Posts
Binary Search
Binary Search is one of the Divide and Conquer Algorithms which check the availability of an element in the list. The algorithm applies...
Count the number of 1s: 8085
The following program will count the number of 1s in a 8085 Microprocessor: MVI B, 00H MVI C, 08H MOV A, D BACK: RAR JNC SKIP INR B S...
Hello World
print 'hello world' std::cout<< "hello world";
Random String Generation
Just call the function with the parameter being the length of string you want to generate function generatestring($length) { $ke...
Linear Linked List
These are the functions that you can use in a linear linked list: The basic linked list node structure: struct Node{ int data; stru...
Sum of digits
Here is a python function to find the sum of digits of a given number. Make sure that your input to the function is an integer def sum...