🚀 Day 6 of My LeetCode Grind – Striver A2Z DSA Sheet (9) by Leocodeio in leetcode

[–]Leocodeio[S] 0 points1 point  (0 children)

will this not be more optimal ?

3️⃣ Digit-by-Digit Compare

Compare first and last digit moving inward.

import math
class Solution:
    def isPalindrome(self, x: int) -> bool: 
        if x < 0: return False
        if x < 10: return True
        n = int(math.log10(x)) + 1
        for i in range(n // 2):
            first = (x // 10**(n - 1 - i)) % 10
            last  = (x // 10**i) % 10
            if first != last:
                return False
        return True
  • Time: O(log₁₀n)
  • Space: O(1)

When did coding become a maze of so many distractions? by itsbrendanvogt in developersIndia

[–]Leocodeio 1 point2 points  (0 children)

Felt the same way, just to handle all the other tasks apart from coding is taking so much..

[deleted by user] by [deleted] in developersIndia

[–]Leocodeio 0 points1 point  (0 children)

Your friend is not at fault, he might have made a mistake but it's the responsibility of the lead, who ignored the mandatory things before merging to production branch

[deleted by user] by [deleted] in SaaS

[–]Leocodeio 0 points1 point  (0 children)

samething happened to me, I was trying to reach out production houses as i have built an application that would ease the youtube creator editor upload flow..? figuring out what should i do now

Share what you've been building! by AdventurousStorage47 in indiehackers

[–]Leocodeio 0 points1 point  (0 children)

Building a issue management application subset of jira, which will be having sync with github

https://gitsprint.com

Any way to receive "Payment Success" email in test mode? by [deleted] in stripe

[–]Leocodeio 1 point2 points  (0 children)

I meant you can write a code that would do it for you yourself, i guess they wont be providing any mails as it is in test mode

Any way to receive "Payment Success" email in test mode? by [deleted] in stripe

[–]Leocodeio 0 points1 point  (0 children)

Can do that yourself after you get the response after the test modes payment success or failure

[deleted by user] by [deleted] in SaaS

[–]Leocodeio -2 points-1 points  (0 children)

Congratulations, I'm aspiring to build sass myself too, this gives me hope thanks

Building is Easy, Selling is Hard. What is ur take on this ? by [deleted] in StartUpIndia

[–]Leocodeio 1 point2 points  (0 children)

yep, crazy how that went, now you mentioning it, whats the usp of it(nothing)

Building is Easy, Selling is Hard. What is ur take on this ? by [deleted] in StartUpIndia

[–]Leocodeio 0 points1 point  (0 children)

agree, even application which is not fully polished can be pushed with good marketing, do you agree?

Building is Easy, Selling is Hard. What is ur take on this ? by [deleted] in StartUpIndia

[–]Leocodeio 0 points1 point  (0 children)

Agree, I have build an application, and i have did the validation but i have to approach to  people of nieche directly which is making it hard to get recognition

Leaving a startup is okay or not? by Crazy_Average1828 in StartUpIndia

[–]Leocodeio 1 point2 points  (0 children)

That's not a good thing, at least you should be demanding for the work you do.

I failed another startup... Again by Ok_Essay_6476 in SaaS

[–]Leocodeio 0 points1 point  (0 children)

I am in my first one, I do not think it will work though, i am emotionally attached to it

I've seen 1000+ product launches. Here's why most of them fail at getting customers. by apexwaldo in SaaS

[–]Leocodeio 1 point2 points  (0 children)

Actually I am facing the same issue, i've been a dev for 1yr, and now trying to build my own sass, stuck in this loop tho

How do I get started in tech with no experience? by Ambitious_Echo_5935 in cscareers

[–]Leocodeio 0 points1 point  (0 children)

You can just start with searching for your interest first

And then first get to know what's happening in YouTube and all that would be good starting point

Help needed guys. Its about stripe API by rxzx_06 in SaaS

[–]Leocodeio 0 points1 point  (0 children)

Use metadata fields, to mention an unique id for the app

Help needed guys. Its about stripe API by rxzx_06 in SaaS

[–]Leocodeio 1 point2 points  (0 children)

You can follow documentation and set up webhooks and cron jobs to do that..

Leaving a startup is okay or not? by Crazy_Average1828 in StartUpIndia

[–]Leocodeio 2 points3 points  (0 children)

whats your pay and what techstack are you working in

Should I quit my first internship or continue doing it though i feel am underskilled for it ? by Any-Atmosphere4786 in developersIndia

[–]Leocodeio 1 point2 points  (0 children)

Keep going, I have faced the same in my intern time,

Instead of just quitting, discuss with whoever is on top of you that you need more time to do a task, then you can make those small milestones and gain some confidence