In other words, the function should not use an auxiliary array to do the work.
11 short programming problems to stretch your imagination and make sure you are staying on your toes.
(Starting with the simple ones, they get more fun as you move towards the end.)
🧵👇
In other words, the function should not use an auxiliary array to do the work.
Only one of the numbers will appear twice.
There could be more than one value duplicated. You should remove all of them leaving a single copy of the value.
If you want more content on software engineering, machine learning, and adjacent topics, give me a follow. I post threads like this every week. You can enjoy more of this content here: @svpino.
More from Santiago
Here is a simple example of a machine learning model.
I put it together a long time ago, and it was very helpful! I sliced it apart a thousand times until things started to make sense.
It's TensorFlow and Keras.
If you are starting out, this may be a good puzzle to solve.
The goal of this model is to learn to multiply one-digit
I put it together a long time ago, and it was very helpful! I sliced it apart a thousand times until things started to make sense.
It's TensorFlow and Keras.
If you are starting out, this may be a good puzzle to solve.

The goal of this model is to learn to multiply one-digit
It is a good example of coding, what is the model?
— Freddy Rojas Cama (@freddyrojascama) February 1, 2021
10 machine learning YouTube videos.
On libraries, algorithms, and tools.
(If you want to start with machine learning, having a comprehensive set of hands-on tutorials you can always refer to is fundamental.)
🧵👇
1⃣ Notebooks are a fantastic way to code, experiment, and communicate your results.
Take a look at @CoreyMSchafer's fantastic 30-minute tutorial on Jupyter Notebooks.
https://t.co/HqE9yt8TkB
2⃣ The Pandas library is the gold-standard to manipulate structured data.
Check out @joejamesusa's "Pandas Tutorial. Intro to DataFrames."
https://t.co/aOLh0dcGF5
3⃣ Data visualization is key for anyone practicing machine learning.
Check out @blondiebytes's "Learn Matplotlib in 6 minutes" tutorial.
https://t.co/QxjsODI1HB
4⃣ Another trendy data visualization library is Seaborn.
@NewThinkTank put together "Seaborn Tutorial 2020," which I highly recommend.
https://t.co/eAU5NBucbm
On libraries, algorithms, and tools.
(If you want to start with machine learning, having a comprehensive set of hands-on tutorials you can always refer to is fundamental.)
🧵👇
1⃣ Notebooks are a fantastic way to code, experiment, and communicate your results.
Take a look at @CoreyMSchafer's fantastic 30-minute tutorial on Jupyter Notebooks.
https://t.co/HqE9yt8TkB

2⃣ The Pandas library is the gold-standard to manipulate structured data.
Check out @joejamesusa's "Pandas Tutorial. Intro to DataFrames."
https://t.co/aOLh0dcGF5

3⃣ Data visualization is key for anyone practicing machine learning.
Check out @blondiebytes's "Learn Matplotlib in 6 minutes" tutorial.
https://t.co/QxjsODI1HB

4⃣ Another trendy data visualization library is Seaborn.
@NewThinkTank put together "Seaborn Tutorial 2020," which I highly recommend.
https://t.co/eAU5NBucbm

More from Tech
These past few days I've been experimenting with something new that I want to use by myself.
Interestingly, this thread below has been written by that.
Let me show you how it looks like. 👇🏻
When you see localhost up there, you should know that it's truly an experiment! 😀
It's a dead-simple thread writer that will post a series of tweets a.k.a tweetstorm. ⚡️
I've been personally wanting it myself since few months ago, but neglected it intentionally to make sure it's something that I genuinely need.
So why is that important for me? 🙂
I've been a believer of a story. I tell stories all the time, whether it's in the real world or online like this. Our society has moved by that.
If you're interested by stories that move us, read Sapiens!
One of the stories that I've told was from the launch of Poster.
It's been launched multiple times this year, and Twitter has been my go-to place to tell the world about that.
Here comes my frustration.. 😤
Interestingly, this thread below has been written by that.
Let me show you how it looks like. 👇🏻
Recently I just refunded all Poster's sales from Gumroad. Being that said, I decided to not using that service anymore.
— Wilbert Liu \U0001f468\U0001f3fb\u200d\U0001f3a8 (@wilbertliu) November 19, 2018
Here's a little story \U0001f447\U0001f3fb
When you see localhost up there, you should know that it's truly an experiment! 😀

It's a dead-simple thread writer that will post a series of tweets a.k.a tweetstorm. ⚡️
I've been personally wanting it myself since few months ago, but neglected it intentionally to make sure it's something that I genuinely need.
So why is that important for me? 🙂
I've been a believer of a story. I tell stories all the time, whether it's in the real world or online like this. Our society has moved by that.
If you're interested by stories that move us, read Sapiens!
One of the stories that I've told was from the launch of Poster.
It's been launched multiple times this year, and Twitter has been my go-to place to tell the world about that.
Here comes my frustration.. 😤
What an amazing presentation! Loved how @ravidharamshi77 brilliantly started off with global macros & capital markets, and then gradually migrated to Indian equities, summing up his thesis for a bull market case!
@MadhusudanKela @VQIndia @sameervq
My key learnings: ⬇️⬇️⬇️
First, the BEAR case:
1. Bitcoin has surpassed all the bubbles of the last 45 years in extent that includes Gold, Nikkei, dotcom bubble.
2. Cyclically adjusted PE ratio for S&P 500 almost at 1929 (The Great Depression) peaks, at highest levels except the dotcom crisis in 2000.
3. World market cap to GDP ratio presently at 124% vs last 5 years average of 92% & last 10 years average of 85%.
US market cap to GDP nearing 200%.
4. Bitcoin (as an asset class) has moved to the 3rd place in terms of price gains in preceding 3 years before peak (900%); 1st was Tulip bubble in 17th century (rising 2200%).
@MadhusudanKela @VQIndia @sameervq
My key learnings: ⬇️⬇️⬇️
Bubble or Bull Market? Join us for a short presentation and candid one on one on 27th Jan, 4pm with Shri \u2066@MadhusudanKela\u2069. \u2066@VQIndia\u2069 \u2066@sameervq\u2069 #bubbleorbullmarket pic.twitter.com/LBvlBrz6mS
— Ravi Dharamshi (@ravidharamshi77) January 24, 2021
First, the BEAR case:
1. Bitcoin has surpassed all the bubbles of the last 45 years in extent that includes Gold, Nikkei, dotcom bubble.
2. Cyclically adjusted PE ratio for S&P 500 almost at 1929 (The Great Depression) peaks, at highest levels except the dotcom crisis in 2000.
3. World market cap to GDP ratio presently at 124% vs last 5 years average of 92% & last 10 years average of 85%.
US market cap to GDP nearing 200%.
4. Bitcoin (as an asset class) has moved to the 3rd place in terms of price gains in preceding 3 years before peak (900%); 1st was Tulip bubble in 17th century (rising 2200%).
You May Also Like
This is a pretty valiant attempt to defend the "Feminist Glaciology" article, which says conventional wisdom is wrong, and this is a solid piece of scholarship. I'll beg to differ, because I think Jeffery, here, is confusing scholarship with "saying things that seem right".
The article is, at heart, deeply weird, even essentialist. Here, for example, is the claim that proposing climate engineering is a "man" thing. Also a "man" thing: attempting to get distance from a topic, approaching it in a disinterested fashion.
Also a "man" thing—physical courage. (I guess, not quite: physical courage "co-constitutes" masculinist glaciology along with nationalism and colonialism.)
There's criticism of a New York Times article that talks about glaciology adventures, which makes a similar point.
At the heart of this chunk is the claim that glaciology excludes women because of a narrative of scientific objectivity and physical adventure. This is a strong claim! It's not enough to say, hey, sure, sounds good. Is it true?
Imagine for a moment the most obscurantist, jargon-filled, po-mo article the politically correct academy might produce. Pure SJW nonsense. Got it? Chances are you're imagining something like the infamous "Feminist Glaciology" article from a few years back.https://t.co/NRaWNREBvR pic.twitter.com/qtSFBYY80S
— Jeffrey Sachs (@JeffreyASachs) October 13, 2018
The article is, at heart, deeply weird, even essentialist. Here, for example, is the claim that proposing climate engineering is a "man" thing. Also a "man" thing: attempting to get distance from a topic, approaching it in a disinterested fashion.

Also a "man" thing—physical courage. (I guess, not quite: physical courage "co-constitutes" masculinist glaciology along with nationalism and colonialism.)

There's criticism of a New York Times article that talks about glaciology adventures, which makes a similar point.

At the heart of this chunk is the claim that glaciology excludes women because of a narrative of scientific objectivity and physical adventure. This is a strong claim! It's not enough to say, hey, sure, sounds good. Is it true?