//
archives

Uncategorized

This category contains 2 posts

Longest Increasing Subsequence in O(n lg n) in Erlang.

In this attempt I have tried to code for more of a typical problem, finding longest increasing subsequence, which I will call LIS throughout. LIS is sister of a more general Longest Common Subsequence (LCS) problem used to find longest common subsequences in two strings. Both of them are solved using dynamic programming paradigm in … Continue reading

Hello World

Since this is my first coding blog, its customary for me to start with Hello World. Here I go. C says Hello, int main(void){ printf(“Hello World\n”); }   Python says Hello, print (“Hello World”) Erlang says Hello, -module(hello). -export([hello_world/0]). hello_world() -> io:fwrite(“hello, world\n”). Java says Hello, class myfirstjavaprog{ public static void main(String args[]){ System.out.println(“Hello World!”); … Continue reading

Categories

Archives