Stats: 3,187,929 members, 7,933,339 topics. Date: Wednesday, 28 August 2024 at 03:35 AM |
Nairaland Forum / Nairaland / General / Jobs/Vacancies / Andela: IT Training And Job (635122 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) ... (207) (208) (209) (210) (211) (212) (213) ... (263) (Reply) (Go Down)
Re: Andela: IT Training And Job by isArray: 6:53pm On Sep 21, 2018 |
naijanoni:i have a regex problem, can you help me to solve it?? |
Re: Andela: IT Training And Job by Hydrotolu: 7:08pm On Sep 21, 2018 |
isArray:yes bro... Lets go show them what we have got! ![]() |
Re: Andela: IT Training And Job by guente02(m): 9:01pm On Sep 21, 2018 |
isArray:How can i get it from you? |
Re: Andela: IT Training And Job by isArray: 10:18pm On Sep 21, 2018 |
guente02:send me a mail |
Re: Andela: IT Training And Job by fxdrizzle(m): 11:02pm On Sep 21, 2018 |
isArray:I'm interested too oh! |
Re: Andela: IT Training And Job by naijanoni(m): 12:08am On Sep 22, 2018 |
isArray:I'll try. Whats it? |
Re: Andela: IT Training And Job by stephenkhalaf(m): 2:46pm On Sep 22, 2018 |
Post the regex here , so that we can all learn 2 Likes |
Re: Andela: IT Training And Job by Nobody: 4:31pm On Sep 22, 2018 |
Hello guys, before i can learn Node.js what aspects of JavaScript do i need to know? |
Re: Andela: IT Training And Job by isArray: 4:44pm On Sep 22, 2018 |
Afolabi6046:async programming |
Re: Andela: IT Training And Job by Nobody: 4:47pm On Sep 22, 2018 |
isArray:async/await yeah? |
Re: Andela: IT Training And Job by guente02(m): 5:34pm On Sep 22, 2018 |
Afolabi6046:Callbacks then Promises. Asyn await only makes one write promises in a convenient way. But once you get your head around it, you'd never basic promises with then() and catch() chaining. For whatever reason i haven't been able to totally understand callbacks. |
Re: Andela: IT Training And Job by guente02(m): 5:39pm On Sep 22, 2018 |
Afolabi6046:Basic JavaScript fundamentals. There are only layers upon layers of abstraction to what we see as complex but las las it's the basic understanding of the underlying concepts that would help you in wrapping your head all things complex. Just prepare for the rabbit hole. |
Re: Andela: IT Training And Job by HolyGhostGym: 7:08am On Sep 23, 2018 |
isArray:Hi.. Bros.. Can you send it to all interested please.. ? I think you can create a shared link on either dropbox or Google Drive. What say you? Abeg biko |
Re: Andela: IT Training And Job by oderindeolayemi: 9:59am On Sep 23, 2018 |
Help with this,please? I do not understand the error
|
Re: Andela: IT Training And Job by HolyGhostGym: 12:01pm On Sep 23, 2018 |
oderindeolayemi: 1. You have not called this function. 2. Where are you going to display it.. hint. Think console method |
Re: Andela: IT Training And Job by untethered: 2:54pm On Sep 23, 2018 |
oderindeolayemi: the error means the test expected an 11-item long array but got a 9-item long array. try including the starting and ending numbers. Assume their example( "12, 0 => [2, 4, 6, 8, 10]" ) was "12, 0 => [0, 2, 4, 6, 8, 10, 12]". In other words, if you supply 10 and 2 to the function, it should return [2,...10], not [4,...8]. Doesn't make sense based on what they asked, but that's apparently what their final test setup checks for. so you'd need to make your loops look more like: for ( let i = y; i <= x, i++ ) { if ( i%2 === 0 ) {...} } ...which would probably make explicitly stating a conditional for the case of two identical numbers passed become a necessity. |
Re: Andela: IT Training And Job by HolyGhostGym: 6:41pm On Sep 23, 2018 |
untethered: This worked with a little tweaking.. I doff my hat to you.. Great work. thumbs up |
Re: Andela: IT Training And Job by untethered: 6:58pm On Sep 23, 2018 |
HolyGhostGym: cheers ![]() |
Re: Andela: IT Training And Job by guente02(m): 7:09pm On Sep 23, 2018 |
With Plenty Mental Gymnastics...
|
Re: Andela: IT Training And Job by HolyGhostGym: 7:21pm On Sep 23, 2018 |
Re: Andela: IT Training And Job by untethered: 7:25pm On Sep 23, 2018 |
code golf version
prolly not recommended/readable though... just experimenting.
|
Re: Andela: IT Training And Job by oderindeolayemi: 8:04pm On Sep 23, 2018 |
Thanks, it worked a treat. My code was just missing the <= sign instead of <. God bless you people however who has completed this countChange exercise? That's the only exercise left for me to submit, i think. Anyone with ideas on how to solve it?
|
Re: Andela: IT Training And Job by oderindeolayemi: 8:12pm On Sep 23, 2018 |
Thanks man untethered: |
Re: Andela: IT Training And Job by iykeevans(m): 5:42am On Sep 24, 2018 |
Pls has anyone done the object oriented task in the qualified.io test, i'm only getting 5 out of nine test cases to work anyones help will be really appreciated. |
Re: Andela: IT Training And Job by ttyman: 9:46am On Sep 24, 2018 |
oderindeolayemi: Tried using normal combination nCr approach, but it get returns the sum without adding itself. like [1,2,3,5] returns [3+1] for a targetSum of 4. whereas we are expected to get [1+ 1+1+1], [2+2], [3+1]....Anyideas how I could make it count itself first as a case |
Re: Andela: IT Training And Job by bblizy43: 11:31am On Sep 25, 2018 |
Please friends, help me out on this. I am trying to get a function that adds its indexes to itself. See below, everything seems to be working fine until i throw in the call back on line10 which gives me a stack exceeded error, seems I didnt get the callback rightly please help me check it out. I need it to complete my coins challange. Thanks alot. function addSelf(numberSet, targetSum) { var count = 0, count2 = 3; var res = 0; for (var i=0; i<targetSum; i++) { var setIndex = numberSet[i]; res +=setIndex; if (res > targetSum) count2--; if (res === targetSum) count++; //if (res < targetSum) addSelf(numberSet, targetSum); return {res , targetSum, count, count2}; } }; addSelf([1,2], 4); |
Re: Andela: IT Training And Job by Nobody: 1:28pm On Sep 25, 2018 |
oderindeolayemi: i have.. remains challenge 5 for me. most of the questions from around 8 downward are algorithm related mainly |
Re: Andela: IT Training And Job by guente02(m): 8:41pm On Sep 25, 2018 |
https://flaviocopes.com/ isn't bad. 1 Like 1 Share |
Re: Andela: IT Training And Job by ttyman: 11:44pm On Sep 26, 2018 |
untethered: Please help a brother. I need to iterate through [1,2] to return [2,2,1,1] as well as [2,3,5] to return [2,3,3,5,5]. I have tried several methods if it works for one it won't work for the other. I can try to implement any suggestions I get. thanks in anticipation |
Re: Andela: IT Training And Job by isArray: 12:38am On Sep 27, 2018 |
ttyman:try this const number_game = (x, y) => { if (x > y) { let res = [] for (let i = y; i <= x; i++) res.push(i) return res.filter(a => a%2 === 0) } let arr = []; for (let i = x; i <= y; i++) arr.push(i) return arr.filter(a => a%2===1) } |
(1) (2) (3) ... (207) (208) (209) (210) (211) (212) (213) ... (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. 42 |