Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,205,598 members, 7,993,046 topics. Date: Monday, 04 November 2024 at 02:29 AM |
Nairaland Forum / Namikaze's Profile / Namikaze's Posts
(1) (2) (3) (4) (5) (6) (7) (of 7 pages)
Fashion / Re: What Can I Apply On My Hair To Make It Grow Faster? (Pics) by namikaze: 4:08pm On Sep 23, 2023 |
Kuramushe:By dust you mean dried marijuana flower/leaves? |
Fashion / Re: What Can I Apply On My Hair To Make It Grow Faster? (Pics) by namikaze: 4:02pm On Sep 23, 2023 |
637oluwadetan:the seed or the leave/flower people smoke? |
Technology Market / Re: Zealot S55/S51 Portable Bluetooth Speaker Needed In Minna by namikaze: 6:04am On Sep 09, 2023 |
Mozino007:how much then? |
Technology Market / Re: Zealot S55/S51 Portable Bluetooth Speaker Needed In Minna by namikaze: 5:44am On Sep 09, 2023 |
Mozino007:new but might consider clean used. |
Technology Market / Re: Zealot S55/S51 Portable Bluetooth Speaker Needed In Minna by namikaze: 5:38am On Sep 09, 2023 |
Mozino007:Just one, I'm the consumer. |
Technology Market / Zealot S55/S51 Portable Bluetooth Speaker Needed In Minna by namikaze: 5:08am On Sep 09, 2023 |
Zealot S55 or S51 Portable Bluetooth Speaker needed in Minna! |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 10:14am On Mar 16, 2023 |
richebony:I mostly use golang for my side projects, js(nodejs) because I gotta get a job , python for DSA . I also know Java, C and C++ but I don't use them anymore. 2 Likes |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 8:21pm On Mar 15, 2023 |
richebony:Have you tried using an Hashmap/Set? For example:
1 Like |
Programming / Re: Discussion: What Is Your Opinion Of Mongodb by namikaze: 9:37pm On Jan 13, 2023 |
truthCoder:Yeah sure, thanks for the heads up. |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 9:36pm On Jan 13, 2023 |
GREATIGBOMAN:interesting problem, My approach is to use dynamic programming, i.e reuse the result of a previous palindrome check, this should boil down the runtime of the palindrome checker to ~ O(1). To cover all substrings we need two loops, making it O(n²), the final runtime becomes O(n²) instead of O(³) of the bruteforce approach. I'm having a hard time coming up the O(1) palindrome check tho , for a max length of 1000, I think I can make it pass with c++ with the bruteforce approach what's the time complexity of your solution? 1 Like |
Programming / Re: Discussion: What Is Your Opinion Of Mongodb by namikaze: 5:47pm On Jan 13, 2023 |
truthCoder:I agree, I mostly use postgres for my projects sometimes though a nosql db might be better choice, say for logs, metrics or 1 dimensional entity, and for these, I think I'll ditch mongo for the newer nosql dbs provided by aws,gcp etc. 1 Like |
Programming / Re: Discussion: What Is Your Opinion Of Mongodb by namikaze: 9:40am On Jan 13, 2023 |
truthCoder:valid argument, but what about something like documentdb provided by both aws and azure, they do the same thing as mongodb but are generally faster, cheaper and easier to setup? |
Programming / Re: Discussion: What Is Your Opinion Of Mongodb by namikaze: 9:36am On Jan 13, 2023 |
post=119977775:yeah it mostly depends, aws for example provides documentdb with a very similar api to mongodb but is faster and much more cheaper. |
Programming / Re: Discussion: What Is Your Opinion Of Mongodb by namikaze: 9:33am On Jan 13, 2023 |
GREATIGBOMAN:lol, like why cockroach, whats the meaning behind cockroach, and to think there are probably some paid "professionals" who came up with the name |
Programming / Discussion: What Is Your Opinion Of Mongodb by namikaze: 8:14pm On Jan 12, 2023 |
What do you think? The mongodb hype seems to have died down overall. These days there seems to be more better (arguably), cheaper, easier alternatives coming up, usually offered by cloud providers. would you rather use mongodb for a new project or any of the newer dynamodb, cockroach db, cosmos e.t.c databases ? |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 8:05pm On Jan 12, 2023 |
GREATIGBOMAN:nicee |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 7:54pm On Jan 11, 2023 |
Sleekcode:with recursive dfs jdoodle.com/ia/C7K
|
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 8:31am On Jan 10, 2023 |
GREATIGBOMAN:sure 1 Like 1 Share |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 12:58pm On Jan 08, 2023 |
GREATIGBOMAN:fails some test cases, for example, arr = [2,6,10,1,0]; correct answer should be [2,4,6,4,2], yours:
|
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 7:23pm On Jan 07, 2023 |
engrAAS:wrong answer, solved a completely different problem (it implemented a red black tree, which I'm guessing is still buggy). I've tried chatGPT before, it always gives wrong solutions except for the most basic and generic problems, you'd be better of solving a problem from scratch than debugging it's solutions. |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 10:00am On Jan 06, 2023 |
GREATIGBOMAN:no it's not sorted |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 9:58am On Jan 06, 2023 |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 2:42pm On Jan 05, 2023 |
MadarasBlade:Agree, it's too theoretical |
Programming / Re: I Want To Work At Google: Journey Of A Software Developer by namikaze: 7:08pm On Dec 31, 2022 |
AlchemyOfCodes:I see, first time hearing of it tho. |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 3:50pm On Dec 28, 2022 |
my solution;
https://www.jdoodle.com/iembed/v0/BDZ |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 3:41pm On Dec 28, 2022 |
truthCoder2:looks good, Ideally you should use some kind of online editor so it's easier to test against different test cases. |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 2:49pm On Dec 28, 2022 |
found this interesting problem; Given a sorted list of numbers, return a list of strings that represent all of the consecutive numbers. Example: Input: [0, 1, 2, 5, 7, 8, 9, 9, 10, 11, 15] Output: ['0->2', '5->5', '7->11', '15->15'] Assume that all numbers will be greater than or equal to 0, and each element can repeat. let's see what you guys come up with |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 2:39pm On Dec 28, 2022 |
truthCoder2:yeah but that was before production. That was from my hng internship. |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 12:25pm On Dec 28, 2022 |
qtguru:True, one time I had to optimised a poorly implemented delete endpoint, the bottleneck was simply the way the previous dev handled the array and database calls, average response time lowered from 10s to 1s. 1 Like |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 9:26pm On Dec 26, 2022 |
I don't think so, what you listed are basic data types, data structures on the other hand are a composition of these types and it's accompanying structure/rule, such as a node, a composition of an int | string | float e.t.c and a pointer. Abstract data structures are abstract, which means the underlying implementation can differ, a stack, an ADT, can have both array and linkedlists or even queue implementations, an array however is concrete and structurally fixed. That said, apart from array and linked lists, which both implement the list ADT, most other data structures are actually ADTs. |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 7:26pm On Dec 25, 2022 |
my solution, Go:
https://replit.com:/@usmansadik96/Go?s=app |
Programming / Re: Algorithm And Data Structure Study Section by namikaze: 5:42pm On Dec 25, 2022 |
let's all try this: You are given a stream of numbers. Compute the median for each new element . Eg. Given [2, 1, 4, 7, 2, 0, 5], the algorithm should output [2, 1.5, 2, 3.0, 2, 2, 2] Here's a starting point:
remember, your solution could be in any language and should be from an online code editor like replit/onecompiler. |
(1) (2) (3) (4) (5) (6) (7) (of 7 pages)
(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. 48 |