Lansa. (@Lansa_18) profile picture

React & NextJs Developer | I build speed-focused interfaces that helps founders & startups convert & retain users.

Abuja, Nigeria
Joined December 2021
Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)Photo by Lansa. (@Lansa_18)
*Subtract the Product and Sum of Digits of an Integer - JS* ๐Ÿ‘พ Time Complexity: O(Log N) Space Complexity: O(1)
3
104
Today's LeetCode: Binary Search + Rolling Hash + Frequency 1. For a subarray with one occurrence, extending it keeps its single occurrence. 2. Truncating it however may produce multiple occurrences 3. Based on #1 & #2, the function is monotonic. Thus, Binary search 4. We can...
1
1
15
284
When you share a full-stack portfolio project, assume a hiring manager won't make an account to see it. Add a โ€œTry as guestโ€ button on the homepage which opens a frontend-only app demo seeded from a JSON file. This reduces all friction while still showing your app.
5
6
2
75
2,798
Subtract the Product and Sum of Digits of an Integer ๐Ÿ‘พ Time Complexity: O(Log N) Space Complexity: O(1)
65
Today;s Leetcode: Product Array Key: 1. Brute force 2. Set a limit on the max allowable product, e.g. Pi(x) for x in [1, 10].
1
13
202
Find the Maximum Achievable Number. Time Complexity: O(1) Space Complexity: O(1)
47
Today's Leetcode: Beware of 0 (I previously solved on Valentine's day last year) Keys: 1. Generate a prefix product array (PPA) with the numbers 2. The product of last k elements is just the nth product/(n-k)th product where n is length of prefix product array. 3. Notice that...
1
3
14
431
Nigeria is so fucked up Damn!!๐Ÿ’”๐Ÿ’”๐Ÿ’”๐Ÿ’”๐Ÿ’” This case is kinda scary @PoliceNG_CRU @PoliceNG @AluyaPov @TunjiDisu1
271
1,579
70
4,904
1,062,024
XOR Operation in an Array ๐Ÿ‘พ Time Complexity: O(n) Space Complexity: O(1)
1
9
298
Lansa. retweeted
Amazon SDE Intern Round 1 Interview Experience I joined the Zoom meeting around 5 minutes prior to the scheduled time. The interviewers joined on time. There were two engineers (SDE 1 & SDE 2). As I joined, my audio was not connected somehow, I don't know why (this type of fumble at the start is a classic me trait). I asked them in the chat that I'm reconnecting and then rejoined. The voice got connected, and 3โ€“4 minutes were wasted in this. Anyways, I apologized for the inconvenience, but they seemed chill about that. Was a little nervous at this point because of the fumble and had a fever too. They shared their introductions one by one. Then I shared my introduction, kept it short: just name, college, CGPA, internship, competitive profiles, and two-three words that describe me best (less than 1 min). So, they had my resume open with them. They were mostly interested in my internship experience only. 1) They first asked me to explain what work I did during my internship. I mentioned a high-level overview, mostly from a business standpoint, of what my work was, with examples. 2) They followed up by asking me to explain the first task I mentioned in technical detail. I detailed the whole architecture of the system, where my work fitted in there, why I chose the approaches I mentioned, and some optimizations. 3) They seemed quite satisfied and asked more about optimizations and numbers related to that. I explained the optimizations further in detail and shared the numbers I had. I also clearly mentioned which numbers I didn't have. So, be ready with things you mention because they can go deep into any topic you bring up. 4) Here, they asked a behavioural question. Something like, how did you coordinate with different teams to get the work done? So, I cited examples from my internship. These types of questions feel quite natural to answer if you can recall a personal experience. You can, of course, apply the STAR method, which I didn't apply. 5) My second task was around Gen AI, so they asked me to explain that. I explained that in detail, like the approaches considered, architecture, results, and so on. 6) They asked minor follow-ups, and the Gen AI part was also done. This part lasted about 20โ€“22 mins. Then we moved to the DSA part, which needed to be solved on the LiveCode platform. There was no functionality to run the code. Each interviewer gave one question each, which they pasted on the platform. (They have some AI assistance to verify solutions, ig.) The first question was on graphs and the second one was on trees. I explained the approaches, time and space complexity beforehand. Then they asked me to code them and do a dry run. Made one syntax error in each question, which they asked me to find. I was able to find them, but wasted 5 mins in that. They asked me to write solver functions only; no driver code was needed. The interview lasted exactly 1 hour. The interview went well apart from the syntax errors. By the end of the interview, my fever had risen more. Took meds and went to sleep. ๐Ÿ˜ด After 5 days, I heard back that Round 2 was scheduled. Will write the Round 2 experience soon. Hope it helps :)
40
25
922
80,912
It's very easy to forget the Math.floor() and the fact that I'm meant to use the copy i made instead of the original variable in this pattern. I at least had the logic right on paper so that's progress. ๐Ÿ‘พ
1
76
Good morning, and happy new month! A new month is another opportunity to get closer to the life you've been working towards. May November bring you unexpected opportunities, answered prayers, growth and reasons to be grateful. Keep showing up. Your efforts will pay off.
4
4
18
513
You and I both know you probably aren't coming back to that item or page once you bookmark it. Track it with Luzora instead and get back to it when it actually matters. It shifts you from passive bookmarking to proactive follow up. nitter.cf/LuzoraHQ/status/211544โ€ฆ
Designers collect inspiration faster than they can use it. You see a beautiful landing page, an interesting interaction, a smart onboarding flow or a design system worth studying. You save it because you'll come back. Luzora helps make sure you actually do. A good inspiration deserves more than a forgotten bookmark. Gathering inspiration from @recentdesign @mobbin @dribbble @Behance or @Pinterest? Schedule your return with @LuzoraHQ.
1
2
79
Made new friends at Devfest Abuja ๐Ÿ’ฏ๐Ÿ”ฅ @thechisomchima @motionark @igmrrf
4
5
32
597
That GitHub issue isn't going to remind you about itself. You spot something worth fixing, but you don't have time right now. So you tell yourself you'll come back. Luzora can help you schedule that return and keep the task connected to your workflow. Because โ€œI'll get to itโ€ works better when thereโ€™s actually a time attached to it Check out Luzora.
1
4
1
9
145
If you're a Nigerian developer, whether you're just starting out or you've been building for years, there's so much you can build and learn with homegrown technologies ๐Ÿ‡ณ๐Ÿ‡ฌโค๏ธ We have: ๐Ÿ‡ณ๐Ÿ‡ฌ @Dbrij_hq & @pxxl_space instead of Vercel for hosting. ๐Ÿ‡ณ๐Ÿ‡ฌ @StackshiftCloud for VPS hosting and management, as an alternative to providers like Hostinger and tools like Coolify. ๐Ÿ‡ณ๐Ÿ‡ฌ @Dbrij_hq & @sendly_ai_ instead of Resend for business and transactional emails. ๐Ÿ‡ณ๐Ÿ‡ฌ @cencori instead of OpenRouter and Cloudflare AI Gateway for AI model access and management. ๐Ÿ‡ณ๐Ÿ‡ฌ Sabilytics.com instead of Google Analytics and DataFast for website analytics. ๐Ÿ‡ณ๐Ÿ‡ฌ @OutRayTunnel for tunnelling local services, as an alternative to tools like ngrok and Cloudflare Tunnel. ๐Ÿ‡ณ๐Ÿ‡ฌ @Bachs_hq for international payments, as an alternative to Stripe. And these are just the ones I can remember right now! I'm not saying you must stop using international tools. I'm saying we have people right here building alternatives worth trying, supporting, and contributing to. With better local pricing that fits us. I know I'm missing so many other products. What other Nigerian-built products and their global alternatives should be on this list? Drop them in the replies! ๐Ÿ‘‡ And if you're building something in Nigeria or anywhere across Africa, please submit your project to Africa Is Building so more people can discover what you're working on โค๏ธ africaisbuilding.com/submit
94
178
27
652
29,315
Today's Leetcode. Spam 9's until you cant. If you spam 9's up to "num" times and still cant reach sum. return empty string. then Spam 9s as much as you can, insert sum % 9, and spam 0s, the total length of the resulting string should be = sum
1
1
20
614
Where is Luzora headed? The future of Productivity. nitter.cf/i/spaces/1wxWjlwDBnjJQ

5
10
1
18
631
Today's leetcode Problem. 1. Build a hashMap containing the frequency of the characters. 2. Loop through the values of the map and return the first unique character. Time Complexity: O(n) Space Complexity: O(1)
39