Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,902 members, 7,802,927 topics. Date: Saturday, 20 April 2024 at 03:36 AM

Andela: IT Training And Job - Jobs/Vacancies (163) - Nairaland

Nairaland Forum / Nairaland / General / Jobs/Vacancies / Andela: IT Training And Job (619667 Views)

Letter To All Fresh Graduates and Job seekers / Andela: IT Training And Job - Jobs/vacancies / Similarities Between Football And Job (2) (3) (4)

(1) (2) (3) ... (160) (161) (162) (163) (164) (165) (166) ... (263) (Reply) (Go Down)

Re: Andela: IT Training And Job by Nasalino: 9:52am On Mar 07, 2018
Has anyone received the second assessment test ? the technical part that is supposed to come after the multiple choice
Re: Andela: IT Training And Job by eph12(m): 12:24pm On Mar 07, 2018
Nasalino:
Has anyone received the second assessment test ? the technical part that is supposed to come after the multiple choice
Your questions were multiple choices all through?
Re: Andela: IT Training And Job by Nobody: 1:13pm On Mar 07, 2018
thanks all... would do that and check back.... actually i used word= word. toLowerCase()....that worked fine with bracket(my editor)
Re: Andela: IT Training And Job by stevenakp(m): 2:11pm On Mar 07, 2018
Afolabi6046:
thanks all... would do that and check back.... actually i used word= word. toLowerCase()....that worked fine with bracket(my editor)

hey, mail me and send me your code.
Re: Andela: IT Training And Job by Nobody: 12:12am On Mar 08, 2018
eph12:

What i did was to pass a condition for if word is an empty space or not a string
can you explain further, i'm a newbie sorry
Re: Andela: IT Training And Job by Nobody: 12:13am On Mar 08, 2018
function isIsogram(word){

word = word.toLowerCase();

var i, j;

for ( i = 0; i<word.length; i += 1){

for ( j = i + 1; j<word.length; j += 1){

if ( word[i] == word[j] ){
return false;
}
}

}
return true;
}





.......................................guys that my code, tried your options, still not working
Re: Andela: IT Training And Job by eph12(m): 8:47am On Mar 08, 2018
Afolabi6046:
function isIsogram(word){

word = word.toLowerCase();

var i, j;

for ( i = 0; i<word.length; i += 1){

for ( j = i + 1; j<word.length; j += 1){

if ( word[i] == word[j] ){
return false;
}
}

}
return true;
}





.......................................guys that my code, tried your options, still not working
You should sort your word first so they are arranged alphabetically after converting to lower case.

Before converting to lower case and sorting, you should have something like this

if ( word !== string || word !== "" ){
return false;
}
Re: Andela: IT Training And Job by benfluleck: 9:37am On Mar 08, 2018
Afolabi6046:
function isIsogram(word){

word = word.toLowerCase();

var i, j;

for ( i = 0; i<word.length; i += 1){

for ( j = i + 1; j<word.length; j += 1){

if ( word[i] == word[j] ){
return false;
}
}

}
return true;
}





.......................................guys that my code, tried your options, still not working

Hi, first of all starting a post with "still not working" doesn't help us debug a solution for you. Please provide a description of the error that you are getting so we can help you better especially for peeps who are just stumbling on this thread. Running the code on my editor throws no errors, So it is up to you to tell me what the exact nature of the problem is so I and others can help. smiley
Re: Andela: IT Training And Job by stevenakp(m): 10:01am On Mar 08, 2018
Afolabi6046:
function isIsogram(word){

word = word.toLowerCase();

var i, j;

for ( i = 0; i<word.length; i += 1){

for ( j = i + 1; j<word.length; j += 1){

if ( word[i] == word[j] ){
return false;
}
}

}
return true;
}





.......................................guys that my code, tried your options, still not working


the test cases have these calls to the function
isIsogram( )
isIsogram( " " )

you've been trying to convert a null value and an empty string to lowercase, which of course won't work.

try this.
1. write a condition to check if "word" is undefined (which take care of the null value passed to the function) or if "word" is lesser than or equal to zero (which takes care of the empty string passed to the function)

2. you should return "false" if any of this is true.

3. carry on with your algorithm.
Re: Andela: IT Training And Job by Nobody: 8:06pm On Mar 08, 2018
benfluleck:


Hi, first of all starting a post with "still not working" doesn't help us debug a solution for you. Please provide a description of the error that you are getting so we can help you better especially for peeps who are just stumbling on this thread. Running the code on my editor throws no errors, So it is up to you to tell me what the exact nature of the problem is so I and others can help. smiley
i actually posted a picture of the error on page 161....and as i mentioned, i ran the code on my editor and it works fine....i just don't know why i'm still getting the "cannot read property toLowerCase of undefined" error
Re: Andela: IT Training And Job by Nobody: 8:08pm On Mar 08, 2018
thanks a lot bro....really appreciate, happy to learn from bosses like you
stevenakp:



the test cases have these calls to the function
isIsogram( )
isIsogram( " " )

you've been trying to convert a null value and an empty string to lowercase, which of course won't work.

try this.
1. write a condition to check if "word" is undefined (which take care of the null value passed to the function) or if "word" is lesser than or equal to zero (which takes care of the empty string passed to the function)

2. you should return "false" if any of this is true.

3. carry on with your algorithm.
Re: Andela: IT Training And Job by Nobody: 8:10pm On Mar 08, 2018
eph12:

You should sort your word first so they are arranged alphabetically after converting to lower case.

Before converting to lower case and sorting, you should have something like this

if ( word !== string || word !== "" ){
return false;
}

would definitely check this out....thanks a lot Manyoo fan grin grin
Re: Andela: IT Training And Job by Nobody: 9:02pm On Mar 08, 2018
hi peeps, pls i need tips on how to prepare for an IT support role interview... this is very urgent pls embarassed
Re: Andela: IT Training And Job by Nobody: 12:20am On Mar 09, 2018
function isIsogram(word){

if ( word == "" || word <= 0 ){
return false;
}

word = word.toLowerCase();

var i, j;

for ( i = 0; i<word.length; i += 1){

for ( j = i + 1; j<word.length; j += 1){

if ( word[i] == word[j] ){
return false;
}
}

}
return true;
}





........................guys i ran this again, gave me the " TypeError: Cannot read property 'toLowerCase' of undefined" again
i think i'm doing something wrong
Re: Andela: IT Training And Job by SoftDev: 4:53pm On Mar 09, 2018
Afolabi6046:
function isIsogram(word){

if ( word == "" || word <= 0 ){
return false;
}

word = word.toLowerCase();

var i, j;

for ( i = 0; i<word.length; i += 1){

for ( j = i + 1; j<word.length; j += 1){

if ( word[i] == word[j] ){
return false;
}
}

}
return true;
}





........................guys i ran this again, gave me the " TypeError: Cannot read property 'toLowerCase' of undefined" again
i think i'm doing something wrong

//Try this...

function isIsogram(word) {

if (word == "" || word <= 0) {
return false;
}

word.toLowerCase();

var i, j;

for (i = 0; i < word.length; i += 1) {

for (j = i + 1; j < word.length; j += 1) {

if (word[i] == word[j]) {
return false;
}
}

}
return true;
}
Re: Andela: IT Training And Job by stevenakp(m): 5:52pm On Mar 09, 2018
Application has started for cycle 32.

just in case you know of anyone that missed the previous application.

deadline is 29th march.
Re: Andela: IT Training And Job by aitcoded: 3:39am On Mar 10, 2018
.
Re: Andela: IT Training And Job by aitcoded: 3:40am On Mar 10, 2018
.
Re: Andela: IT Training And Job by Nobody: 12:47pm On Mar 10, 2018
function isIsogram(word){

if ( word === undefined || word.length <= 0 ){
return false;
}

word = word.toLowerCase();

var i, j;

for ( i = 0; i<word.length; i += 1){

for ( j = i + 1; j<word.length; j += 1){

if ( word[i] == word[j] ){
return false;
}
}

}
return true;
}





PASSED grin grin thanks everyone
Re: Andela: IT Training And Job by dolapo17: 9:34pm On Mar 11, 2018
function isIsogram(word){

var newArray = word.split('');
var result = [];
var hash = new Object();
for(var i = 0; i < newArray.length; i++){
var element = newArray[i];
if(!hash[element]){
hash[element] = true;
result.push(element);
}
}
if(result.length !== newArray.length){
return false;
}else {
return true;
}
}
can anyone help. the code works fine in my text editor
but doesnt work in qualified.io
gives this error message:

TypeError: Cannot read property 'split' of undefined
Re: Andela: IT Training And Job by dolapo17: 9:36pm On Mar 11, 2018
dolapo17:

Danielbuyner



function isIsogram(word){

var newArray = word.split('');
var result = [];
var hash = new Object();
for(var i = 0; i < newArray.length; i++){
var element = newArray[i];
if(!hash[element]){
hash[element] = true;
result.push(element);
}
}
if(result.length !== newArray.length){
return false;
}else {
return true;
}
}
can anyone help. the code works fine in my text editor
but doesnt work in qualified.io
gives this error message:

TypeError: Cannot read property 'split' of undefined
Re: Andela: IT Training And Job by Adex001(m): 6:31am On Mar 12, 2018
[quote author=dolapo17 post=65755137][/quote] try making sure the word entered is really a word. Example : if I enter a value as elep@ha$nt, what's your program going to do?
Re: Andela: IT Training And Job by stevenakp(m): 8:10am On Mar 12, 2018
hey,
Has anyone received the mail for interview from andela ?
Re: Andela: IT Training And Job by stevenakp(m): 8:33pm On Mar 14, 2018
stevenakp:
hey,
Has anyone received the mail for interview from andela ?

?
Re: Andela: IT Training And Job by Ephaig: 11:25pm On Mar 14, 2018
stevenakp:


?
No! Have you?
Re: Andela: IT Training And Job by joeeasy44: 9:17am On Mar 15, 2018
We'll start receiving invitations tomorrow
Re: Andela: IT Training And Job by Ephaig: 12:52pm On Mar 15, 2018
joeeasy44:
We'll start receiving invitations tomorrow
It has come in
Re: Andela: IT Training And Job by collinic: 2:10pm On Mar 15, 2018
I just received mine
Re: Andela: IT Training And Job by collinic: 2:13pm On Mar 15, 2018
joeeasy44:


Yup, Well I've prepared for some time now

how far did u get the invite?
Re: Andela: IT Training And Job by joeeasy44: 2:41pm On Mar 15, 2018
collinic:


how far did u get the invite?
yep
Re: Andela: IT Training And Job by collinic: 2:51pm On Mar 15, 2018
joeeasy44:
yep

congrats!!!
Re: Andela: IT Training And Job by joeeasy44: 4:04pm On Mar 15, 2018
collinic:


congrats!!!
Thanks man, Getting in is the koko

(1) (2) (3) ... (160) (161) (162) (163) (164) (165) (166) ... (263) (Reply)

How To Apply For Nigeria Immigration Service (NIS) Recruitment 2017 / Federal Road Safety Commission 2018 Recruitment: How To Apply / FIRS To Recruit 1,250 New Staff

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 31
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.