₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,997 members, 8,448,144 topics. Date: Sunday, 19 July 2026 at 08:23 PM

Toggle theme

Laolballs's Posts

Nairaland ForumLaolballs's ProfileLaolballs's Posts

1 2 3 4 (of 4 pages)

ProgrammingRe: Simple Algorithm Implementation by Laolballs(op): 8:43am On Jun 08, 2016
larisoft:
thats the implementation of a insertion_sort algorithm.

for the linear search

public int search(arr[], int v){

//loop through array
for(int i =0; i< arr.length; i++){


if(arr[i] == v) return i;
}

return -1;
}
This is not an effective way of implementing linear search on an ordered array , because even if the element been searched for is in the first array index , the algorith woukd still search through all the array before returning the result, it would waste resources.. Can you make it such that the loop stops as soon as the element is found?? That woukd be more efficient
ProgrammingRe: Simple Algorithm Implementation by Laolballs(op): 7:24am On Jun 07, 2016
A sequence of n numbers A = { a1, a2.... an} and a value
v
Implement a linear search algorithm in any programming langauage of choice to search for an index i such that A[i]=v

Where are the algorithm guys, this should be bread and butter, test you algorithmic skill
ProgrammingSimple Algorithm Implementation by Laolballs(op):
Implement this insertion sort algorithm in any programming language of your choice. Show case your talent here.
The insersion sort algorithm rearrages an unordered array in either ascending or descending order . For the problem, ascending order is preferred. Let say we have a sequence of numbers. A={2, 6,,3, 5, 8, 4, 5, 0} what the algorithm does is to rearrange it well like A={0, 2, 3, 4, 5, 5, 8}

ProgrammingRe: Php by Laolballs: 7:09am On Jun 07, 2016
marvzkiddx:
ao wld i knw if its down.....And aqain cn i create database in anoda host while d domain is on anoda host..
Yes its possible, it all about changing you database connection
ProgrammingRe: Php by Laolballs: 11:28am On Jun 06, 2016
marvzkiddx:
<?php
define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'db');

$connection = mysql_connect(DB_HOST,DB_USER,DB_PASS) or die(mysql_error());
mysql_select_db(DB_NAME) or die(mysql_error());

?>
<?php
$con = mysql_connect("localhost","root",""wink;
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

?>



plsss av been tryin to connect to my database,but i cnt..dahz d code..Plss help..
and what is d 'root' and 'localhost'..I mean this>>> mysql_connect("localhost","root",""wink;
..What does d 'root' mean..Thank u.love u all
Well these are deprecated functions, go and learn pdo .. Google search for pdo crash course.pdf. this methods is old and creepy and not secure
Tech JobsRe: Web Designer/programmer Needed At Myestores Nigeria Ltd.... by Laolballs: 6:49pm On Jun 03, 2016
Am up here is my number 07036725298. My portfolio url:www.fix25ng.com/olaoluwaprot
ProgrammingRe: Please Who Knows Laravel Mvc With Php by Laolballs: 12:03pm On May 30, 2016
Am up for the laravel project here is my email olorundaolaoluwa@gmail.com

Check out my portfolio url:www.fix25ng.com/olaoluwaprot
ProgrammingRe: How Do I Extract Data From Online Websites? by Laolballs: 8:13pm On May 17, 2016
What you wanted to do is easy, just get the rss field of the sites , then use the google rss to json api. Digest the json in your app with angularjs then save to localStorage .. Every time you go online, the app would check for new update and cache insode localStorage else it just load result from web storage
ProgrammingRe: A New Search Engine by Laolballs: 2:46pm On May 16, 2016
Hello search engine guy, check out this class i wrote sometimes ago, it would really help to improve your search engine.
www.phpclasses.org/package/8926-PHP-Perform-full-text-search-on-MySQL-with-autocorrect.html

Kudos and welldone
Tech JobsRe: Hardcore Webdesigner And App Programmers Needed by Laolballs: 3:50pm On May 13, 2016
Am a php programmer , i am good at laravel php framework ..., angularjs , bootstrap , php , and mysql...
I am a one time nominee of php innovation award check my certificate out here..
https://drive.google.com/file/d/0Bz2lYYYYePkpdW03Y1B6cWdDUVE/view?usp=docslist_api

And i have contributed to the open source community here is my profile on phpclasses http://www.phpclasses.org/browse/author/1217990.html
Check out my portfolio url: http://www.fix25ng.com/olaoluwaprot

Here is my email olorundaolaoluwa@gmail.com
Phone num:07036725298

Just starting to upload project there
Github:http://www.github.com/olorunda
Tech JobsRe: A Software For Managing A Farm, Specifically Poultry by Laolballs: 11:48am On May 13, 2016
I can help with it let chat on whatsapp .. Here is my number.. 07036725298
ProgrammingRe: My Just Completed Android E-voting App by Laolballs: 3:20am On May 12, 2016
I wrote a web app like this in laravel 5. 1 .. You can check it out on my git repository

Http://www.github.com/olorunda/evotting

Cheers, its opensource download and modify or fork it on github

Suggestions for improvement are also welcom
ProgrammingRe: Where Are The Good Coders? by Laolballs: 12:53pm On May 11, 2016
dhtml18:
^^^How about working with a troll like me?
Any day ...
Tech JobsRe: Web Developers Wanted - Earn Up To N250,000 Per Month (apply Now) by Laolballs: 12:49pm On May 11, 2016
Mail not delivered
ProgrammingRe: Where Are The Good Coders? by Laolballs:
All hands up , i am a backend php developer , i used laravel 5. 1 framework and i try to write to the best of my ability clean loosely coupled and maintainable code ... I use the repository pattern and i try
As much as possible to follow the SOLID design principle. I am a continous learner and i grow with every project i work on .... Here is my email olorundaolaoluwa@gmail.com
ProgrammingRe: My Just Completed Android E-voting App by Laolballs: 12:23am On May 11, 2016
shegmatech:
hello fellow nairalanders. please I need help with ONLINE VOTING SYSTEM WRITEUP. THATS MY PROJECT AND I REALLY NEED THE WRITEUP. PLEASE HELP.
I can help here is my number lets chat 07036725298

1 2 3 4 (of 4 pages)