LeetCode 1929: Concatenation of Array(EASY)
Today I learned how to duplicate an array.
I solved it in two ways:
1οΈβ£ Using +
β‘οΈ Combine the array with itself
2οΈβ£ Using extend()
β‘οΈ Add the same elements again to the array.
Both are simple ways to create a concatenated array.
Today I learned how to duplicate an array.
I solved it in two ways:
1οΈβ£ Using +
β‘οΈ Combine the array with itself
nums + nums
2οΈβ£ Using extend()
β‘οΈ Add the same elements again to the array.
Both are simple ways to create a concatenated array.
β€2π₯2
Teaching is one of the best ways to learn.As I prepare tomorrow's lecture on Two Pointers, I keep discovering concepts I missed before. Every time I teach, I deepen my own understanding.
Sometimes the best student is the teacher.
π₯4
Forwarded from The Opcode
π₯ 3 FREE Websites for Every Frontend Developer
1. Coolors
π https://coolors.co
Generate beautiful color palettes in seconds. Lock your favorite colors, explore combinations, and export palettes instantly.
2. Cubic Bezier
π https://cubic-bezier.com
Create smooth custom CSS animation timing functions with a live visual preview. Perfect for making your UI feel more polished.
3. Animista
π https://animista.net
Browse hundreds of ready-made CSS animations, customize them, and copy the code directly into your projectβno JavaScript required.
1. Coolors
π https://coolors.co
Generate beautiful color palettes in seconds. Lock your favorite colors, explore combinations, and export palettes instantly.
2. Cubic Bezier
π https://cubic-bezier.com
Create smooth custom CSS animation timing functions with a live visual preview. Perfect for making your UI feel more polished.
3. Animista
π https://animista.net
Browse hundreds of ready-made CSS animations, customize them, and copy the code directly into your projectβno JavaScript required.
β€2
Forwarded from Mercy's Fight (^_^ Mercy)
Waking up after setting your alarm and then thinking, "Should I sleep more like 30 minutes?" is on a whole other level. It's a trick because I know I'm not going to wake up, so let's see if we succeed and how things turn out after 6 AM in the morning and also in the afternoon. I'm not going to sleep back, decided αα΅ααα π. #random@theJourneyy101
β€4
200 Members! π
We just reached 200 subscribers!
Thank you to everyone who joined, supported, learned, and grew with this community. Your consistency and engagement make this channel what it is.
We just reached 200 subscribers!
Thank you to everyone who joined, supported, learned, and grew with this community. Your consistency and engagement make this channel what it is.
π₯14π4β€2
Last year, I solved this problem in a very complicated way. Today, I looked at it again and solved it with a much simpler and better approach.
The biggest lesson is not just solving problems, but seeing how much you improve over time. The time and effort you spend today build your problem-solving skills for tomorrow.
Keep practicing consistently, learn from every problem, and always try to think about different approaches. Every problem is an opportunity to improve.
@CodebyLidia #Day 10
The biggest lesson is not just solving problems, but seeing how much you improve over time. The time and effort you spend today build your problem-solving skills for tomorrow.
Keep practicing consistently, learn from every problem, and always try to think about different approaches. Every problem is an opportunity to improve.
@CodebyLidia #Day 10
β€7
Hello everyone! π
I wanted to let you know that I'll be offline for about one week. I won't have access to my PC, phone, or the internet for personal reasons.
During this time, I've given admin access to two trusted friends so the community can stay active. Please support them and continue helping each other.
I'll be back in a week. I'll definitely miss this amazing community! β€οΈ If possible, I'll also record a YouTube video.
Thank you all for being part of this journey. Take care, keep learning, and see you soon!
Much love to all 207 of you! β€οΈ
I wanted to let you know that I'll be offline for about one week. I won't have access to my PC, phone, or the internet for personal reasons.
During this time, I've given admin access to two trusted friends so the community can stay active. Please support them and continue helping each other.
I'll be back in a week. I'll definitely miss this amazing community! β€οΈ If possible, I'll also record a YouTube video.
Thank you all for being part of this journey. Take care, keep learning, and see you soon!
Much love to all 207 of you! β€οΈ
β€10π2
One more thing!
Our admins for this week are:
@Mikhel_W
@dag_shell
Please support them while I'm away.
And listen... when I come back, if I see even one person has left the channel, I'll take both of you to court.π€£
Just kidding! Feel free to treat this community like it's your own.
@dag_shell, I know you... you'll probably roast me on my own channel. π But I'm giving you a one-week pardon.
@Mikhel_W, I'm trusting you to protect the channel from @dag_shell. π
Thank you both for helping take care of the community. I really appreciate it. β€οΈπ₯°
Our admins for this week are:
@Mikhel_W
@dag_shell
Please support them while I'm away.
And listen... when I come back, if I see even one person has left the channel, I'll take both of you to court.π€£
Just kidding! Feel free to treat this community like it's your own.
@dag_shell, I know you... you'll probably roast me on my own channel. π But I'm giving you a one-week pardon.
@Mikhel_W, I'm trusting you to protect the channel from @dag_shell. π
Thank you both for helping take care of the community. I really appreciate it. β€οΈπ₯°
β€2π₯1π1