How many ways are there to prove the Pythagorean theorem? - Betty Fei

There are well over 371 Pythagorean Theorem proofs, originally collected and put into a book in 1927, which includes those by a 12-year-old Einstein (who uses the theorem two decades later for something about relativity), Leonardo da Vinci and President of the United States James A. Garfield.

Elisha Scott Loomis, an eccentric mathematics teacher from Ohio, spent a lifetime collecting all known proofs of the Pythagorean Theorem and writing them up in The Pythagorean Proposition, a compendium of 371 proofs. The manuscript was prepared in 1907 and published in 1927. A revised second edition appeared in 1940, and this was reprinted by the National Council of Teachers of Mathematics in 1968 as part of its‘ Classics in Mathematics Education’ series. Loomis received literally hundreds of new proofs from after his book was released up until his death, but he could not keep up with his compendium. As for the exact number of proofs, no one is sure how many there are.


My English Words List - September - 2022

cram

cram

verb

He crammed the suitcase with his clothes.

tarmac

tarmac

noun

  • a tarmacadam road, apron, or runway

tarmacadam

tarmacadam

noun

  • a pavement constructed by spraying or pouring a tar binder over layers of crushed stone and then rolling

Tarmacadam

Tarmacadam is a road surfacing material made by combining crushed stone, tar, and sand.

myopia

myopia

noun

Myopia - Diagram showing changes in the eye with near-sightedness

She wears eyeglasses to correct her myopia.

Myopia

glide

glide

verb

The swans glided over the surface of the lake.

We watched the skiers glide down the slope.

glitter

glitter

noun

Glitter nail polish

Glitter

clumsy

clumsy

adjective

I have very clumsy hands and tend to drop things.

a clumsy error

I’m sorry about spilling your wine—that was very clumsy of me.

platypus

platypus

noun

  • a small water-dwelling mammal of Australia that lays eggs and has webbed feet, dense fur, and a bill that resembles that of a duck

A colour print of platypuses from 1863

Platypus

glee

glee

noun

  • great joy

They were dancing with glee.

prep

prep

verb

  • [short for prepare] : to get ready

She spent all night prepping for the test.

It took me about 20 minutes to prep the vegetables.

cryptocurrency

cryptocurrency

noun

A logo for Bitcoin, the first decentralized cryptocurrency

Cryptocurrency

android

android

noun

  • a mobile robot usually with a human form

Android

heir

heir

noun

Riemann was an heir of Euler.

tutorial

tutorial

noun

An online tutorial gives basic instructions for using the software.

decent

decent

adjective

it’s very decent of them to help

Do the decent thing and confess.

decent grades

jot

jot

verb

  • to write briefly or in a hurry

I jot down their names and requests.

He paused to jot a few notes on a slip of paper.

jot this down

agnostic

agnostic

noun

political agnostics

Agnosticism

comforter

comforter

noun

  • a thick bed covering made of two layers of cloth containing a filling (such as down)

A white comforter

Comforter

bleach

bleach

verb

  • to make white by removing the color or stains from

bleach clothing

wicker

wicker

noun

A wicker basket filled with apples

Wicker

whirlpool

whirlpool

noun

A whirlpool in a small pond

Whirlpool

webcam

webcam

noun

A small webcam that can capture photos or videos at 1080p resolution

Webcam

rinse

rinse

verb

rinse out the mouth

I rinsed my face in the sink.

He washed the dishes and then rinsed them thoroughly.

Rinse, a step in washing

Rinse cycle of a washing machine

Rinse cycle of a dishwasher

Rinse

tollbooth

tollbooth

noun

A car stopping at a tollbooth in Subic–Clark–Tarlac Expressway.

LeetCode - Algorithms - 2235. Add Two Integers

Maybe the most straightforward problem on leetcode. Super simple. Its intention?

Problem

2235. Add Two Integers

C#

1
2
3
4
5
public class Solution {
public int Sum(int num1, int num2) {
return num1 + num2;
}
}

Submission Detail

  • 262 / 262 test cases passed.
  • Runtime: 25 ms, faster than 86.75% of C# online submissions for Add Two Integers.
  • Memory Usage: 26.7 MB, less than 8.86% of C# online submissions for Add Two Integers.

Java

1
2
3
4
5
class Solution {
public int sum(int num1, int num2) {
return num1 + num2;
}
}

Submission Detail

  • 262 / 262 test cases passed.
  • Runtime: 0 ms, faster than 100.00% of Java online submissions for Add Two Integers.
  • Memory Usage: 40.7 MB, less than 78.42% of Java online submissions for Add Two Integers.

JavaScript

1
2
3
4
5
6
7
8
/**
* @param {number} num1
* @param {number} num2
* @return {number}
*/
var sum = function(num1, num2) {
return num1 + num2;
};

Submission Detail

  • 262 / 262 test cases passed.
  • Runtime: 136 ms, faster than 5.20% of JavaScript online submissions for Add Two Integers.
  • Memory Usage: 41.4 MB, less than 97.69% of JavaScript online submissions for Add Two Integers.

The Bridge Builder

by Will Allen Dromgoole

An old man going a lone highway,
Came, at the evening cold and gray,
To a chasm vast and deep and wide.
Through which was flowing a sullen tide
The old man crossed in the twilight dim,
The sullen stream had no fear for him;
But he turned when safe on the other side
And built a bridge to span the tide.

“Old man,” said a fellow pilgrim near,
“You are wasting your strength with building here;
Your journey will end with the ending day,
You never again will pass this way;
You’ve crossed the chasm, deep and wide,
Why build this bridge at evening tide?”

The builder lifted his old gray head;
“Good friend, in the path I have come,” he said,
“There followed after me to-day
A youth whose feet must pass this way.
This chasm that has been as naught to me
To that fair-haired youth may a pitfall be;
He, too, must cross in the twilight dim;
Good friend, I am building this bridge for him!”

The final stanza of the poem "The Bridge Builder" by Will Allen Dromgoole as engraved on the Vilas Bridge.


The case for curiosity-driven research - Suzie Sheehy - TEDxSydney

In the late 19th century, scientists were trying to solve a mystery. They found that if they had a vacuum tube like this one and applied a high voltage across it, something strange happened. They called them cathode rays. But the question was: What were they made of?

In England, the 19th-century physicist J.J. Thompson conducted experiments using magnets and electricity, like this. And he came to an incredible revelation. These rays were made of negatively charged particles around 2,000 times lighter than the hydrogen atom, the smallest thing they knew. So Thompson had discovered the first subatomic particle, which we now call electrons.

Now, at the time, this seemed to be a completely impractical discovery. I mean, Thompson didn’t think there were any applications of electrons. Around his lab in Cambridge, he used to like to propose a toast: “To the electron. May it never be of use to anybody.”

He was strongly in favor of doing research out of sheer curiosity, to arrive at a deeper understanding of the world. And what he found did cause a revolution in science. But it also caused a second, unexpected revolution in technology. Today, I’d like to make a case for curiosity-driven research, because without it, none of the technologies I’ll talk about today would have been possible.

Now, what Thompson found here has actually changed our view of reality. I mean, I think I’m standing on a stage, and you think you’re sitting in a seat. But that’s just the electrons in your body pushing back against the electrons in the seat, opposing the force of gravity. You’re not even really touching the seat. You’re hovering ever so slightly above it. But in many ways, our modern society was actually built on this discovery. I mean, these tubes were the start of electronics. And then for many years, most of us actually had one of these, if you remember, in your living room, in cathode-ray tube televisions. But – I mean, how impoverished would our lives be if the only invention that had come from here was the television?

Thankfully, this tube was just a start, because something else happens when the electrons here hit the piece of metal inside the tube. Let me show you. Pop this one back on. So as the electrons screech to a halt inside the metal, their energy gets thrown out again in a form of high-energy light, which we call X-rays.

And within 15 years of discovering the electron, these X-rays were being used to make images inside the human body, helping soldiers’ lives being saved by surgeons, who could then find pieces of bullets and shrapnel inside their bodies. But there’s no way we could have come up with that technology by asking scientists to build better surgical probes. Only research done out of sheer curiosity, with no application in mind, could have given us the discovery of the electron and X-rays.

Now, this tube also threw open the gates for our understanding of the universe and the field of particle physics, because it’s also the first, very simple particle accelerator. Now, I’m an accelerator physicist, so I design particle accelerators, and I try and understand how beams behave. And my field’s a bit unusual, because it crosses between curiosity-driven research and technology with real-world applications. But it’s the combination of those two things that gets me really excited about what I do. Now, over the last 100 years, there have been far too many examples for me to list them all. But I want to share with you just a few.

In 1928, a physicist named Paul Dirac found something strange in his equations. And he predicted, based purely on mathematical insight, that there ought to be a second kind of matter, the opposite to normal matter, that literally annihilates when it comes in contact: antimatter. I mean, the idea sounded ridiculous. But within four years, they’d found it. And nowadays, we use it every day in hospitals, in positron emission tomography, or PET scans, used for detecting disease.

Or, take these X-rays. If you can get these electrons up to a higher energy, so about 1,000 times higher than this tube, the X-rays that those produce can actually deliver enough ionizing radiation to kill human cells. And if you can shape and direct those X-rays where you want them to go, that allows us to do an incredible thing: to treat cancer without drugs or surgery, which we call radiotherapy. In countries like Australia and the UK, around half of all cancer patients are treated using radiotherapy. And so, electron accelerators are actually standard equipment in most hospitals.

Or, a little closer to home: if you have a smartphone or a computer – and this is TEDx, so you’ve got both with you right now, right? Well, inside those devices are chips that are made by implanting single ions into silicon, in a process called ion implantation. And that uses a particle accelerator.

Without curiosity-driven research, though, none of these things would exist at all. So, over the years, we really learned to explore inside the atom. And to do that, we had to learn to develop particle accelerators. The first ones we developed let us split the atom. And then we got to higher and higher energies; we created circular accelerators that let us delve into the nucleus and then create new elements, even. And at that point, we were no longer just exploring inside the atom. We’d actually learned how to control these particles. We’d learned how to interact with our world on a scale that’s too small for humans to see or touch or even sense that it’s there.

And then we built larger and larger accelerators, because we were curious about the nature of the universe. As we went deeper and deeper, new particles started popping up. Eventually, we got to huge ring-like machines that take two beams of particles in opposite directions, squeeze them down to less than the width of a hair and smash them together. And then, using Einstein’s \(E = mc^2\), you can take all of that energy and convert it into new matter, new particles which we rip from the very fabric of the universe.

Nowadays, there are about 35,000 accelerators in the world, not including televisions. And inside each one of these incredible machines, there are hundreds of billions of tiny particles, dancing and swirling in systems that are more complex than the formation of galaxies. You guys, I can’t even begin to explain how incredible it is that we can do this.

So I want to encourage you to invest your time and energy in people that do curiosity-driven research. It was Jonathan Swift who once said, “Vision is the art of seeing the invisible.” And over a century ago, J.J. Thompson did just that, when he pulled back the veil on the subatomic world.

And now we need to invest in curiosity-driven research, because we have so many challenges that we face. And we need patience; we need to give scientists the time, the space and the means to continue their quest, because history tells us that if we can remain curious and open-minded about the outcomes of research, the more world-changing our discoveries will be.

Thank you.


  • Suzie Sheehy
  • Paul Dirac: the purest soul in physics
  • A great deal of my work is just playing with equations and seeing what they give. simply examining mathematical quantities that physicists use and trying to fit them together in an interesting way, regardless of any application the work may have.
  • God used beautiful mathematics in creating the world. One could perhaps describe the situation by saying that God is a mathematician of a very high order, and He used very advanced mathematics in constructing the universe.
  • Of all physicists, Dirac has the purest soul. (Niels Bohr)
  • Another story told of Dirac is that when he first met the young Richard Feynman at a conference, he said after a long silence, “I have an equation. Do you have one too?”
  • As a young man I had the privilege of learning my quantum theory at the feet of Paul Dirac, as he gave his celebrated Cambridge lecture course. Not only was Dirac the greatest theoretical physicist known to me personally, his purity of spirit and modesty of demeanour(he never emphasized in the slightest degree his own immense contributions to the fundamentals of the subject) made him an inspiring figure and a kind of scientific saint. (Quantum Theory: A Very Short Introduction, John Polkinghorne)

My English Words List - August - 2022

civic

civic

adjective

civic duty

Voting is your civic duty.

Civic Holiday

pitch

pitch

noun

Elevator pitch

etiquette

etiquette

noun

  • the rules governing the proper way to behave or to do something

the couple exhibited poor etiquette when they left the party without saying good-bye to the host and hostess

recap

recap

noun

recapitulation

  • a concise summary

rubric

rubric

noun

  • an established rule, tradition, or custom

the rubric, popular among jewelers anyway, that a man should spend a month’s salary on his fiancée’s engagement ring.

affiliation

affiliation

noun

  • the state or relation of being closely associated or affiliated with a particular person, group, party, company, etc.

compensation

compensation

noun

  • payment, remuneration
  • money paid regularly

working without compensation

When the business was struggling, she worked without compensation.

dumbbell

dumbbell

noun

A pair of adjustable dumbbells with 2 kg plates

Dumbbell

indigenous

indigenous

adjective

the culture of the indigenous people of that country

Indigenous peoples in Canada

rag

rag

noun

The child is dressed in rags.

verb

  • tease

jag

jag

verb

really ragged and jagged

bursary

bursary

noun

  • scholarship

postsecondary

postsecondary

adjective

  • of, relating to, or being education following secondary school

postsecondary education

reassess

reassess

verb

… had the sense to reassess their situation before making a critical error.

fraud

fraud

noun

was accused of credit card fraud

automobile insurance frauds

He was found guilty of bank fraud.

encapsulate

encapsulate

verb

a pilot encapsulated in the cockpit

Encapsulation (computer programming)

In object-oriented programming (OOP), encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object’s components.

immutable

immutable

adjective

the immutable laws of nature

In Java, String is a final and immutable class, which makes it the most special. It cannot be inherited, and once created, we can not alter the object. String object is one of the most-used objects in any of the programs.

modifier

modifier

noun

In “a red hat,” the adjective “red” is a modifier describing the noun “hat.”

Java class access modifiers (public, private, protected, abstract)

acronym

acronym

noun

The word “radar” is an acronym for “radio detecting and ranging.”

OOP is the acronym for object-oriented programming

scenario

scenario

noun

In the worst-case scenario, we would have to start the project all over again.

prudence

prudence

noun

advised to use some old-fashioned prudence when agreeing to meet face-to-face with an online acquaintance

sloth

sloth

noun

  • the quality or state of being lazy

vow

vow

noun

The bride and groom exchanged vows.

Vow

portfolio

portfolio

noun

The Knowledge Portfolio

ternary

ternary

adjective

  • having three elements, parts, or divisions

ternary operator

1
const beverage = age >= 21 ? "Beer" : "Juice";

lever

lever

noun

when we open a door or use a nutcracker, we exploit archimedes’ law of the lever; (The Princeton Companion to Mathematics, VIII.3 The Ubiquity of Mathematics, T. W. Körner)

Archimedes lever

Lever

parabola

parabola

noun

With the help of elementary calculus, we know that a baseball, after it leaves the bat, will have a trajectory in the shape of a parabola. (The Princeton Companion to Mathematics, VIII.3 The Ubiquity of Mathematics, T. W. Körner)

The parabola is a member of the family of conic sections.

Parabola

tag

tag

noun

A Dutch cartoon of children playing tag, 1860s

  • a game in which the player who is it chases others and tries to touch one of them who then becomes it

Tag (game)

trailer

trailer

noun

  • a selected group of scenes that are shown to advertise a movie

Trailer (promotion)

A trailer (also known as a preview or attraction video) is a commercial advertisement, originally for a feature film that is going to be exhibited in the future at a movie theater/cinema.

Little Girl

by Laura E. Richards

When Little Girl wakes in the morning gay
Then everybody is glad;
The cat in the kitchen sits purring away,
And the puppy dog barks like mad.
The bell in the steeple turns head over heels,
That’s his way of showing how glad he feels;
And all the wide world seems to say,
“Our dear Little Girl is happy to-day!”

When Little Girl wakes in the morning sad,
Then everybody must mourn;
The little birds sigh, and the big birds cry,
And the scarecrow sobs in the corn.
The fishes all pull their hankies out,
And go and weep with the poor hornpout,
And the clock says, “Tock! I’m sorry to say
Our dear Little Girl is sad to-day!”

So, Little Girl, when you go beddy at night,
Put a smile right under your pillow,
And when you wake up, just slip it on tight,
And wear it all day with a will, oh!
Then the sun will shine and the wind will blow,
And the bells will ring, “Ho! ho! ho! ho!”
For in all the wide world there’s naught can be
So sweet as a happy child to see!


Little Girl

Marie Curie and Henri Poincaré once wrote letters of recommendation for Albert Einstein

Marie Curie and Poincaré talk at the 1911 Solvay Conference

From Henri Poincaré:
Nov. 1911

My dear colleague,

Mr Einstein is one of the most original thinkers I have ever met. In spite of his youth, he has already achieved a very honourable place among the leading savants of his age. What one has to admire in him above all is the facility with which he adapts himself to new concepts and knows how to draw from them every possible conclusion. He has not remained attached to classical principles, and when faced with a problem of physics he is prompt in envisaging all its possibilities. A problem which enters his mind unfolds itself into the anticipation of new phenomena which may one day be verified by experiment. I do not mean to say that all these anticipations will withstand the test of experiment on the day such a test would become possible. Since he seeks in all directions one must, on the contrary, expect most of the trails which he pursues to be blind alleys. But one must hope at the same time that one of the directions he has indicated may be the right one, and that is enough. This is indeed how one should proceed. The role of mathematical physics is to ask the right questions, and experiment alone can resolve them.

The future will show more and more the worth of Mr Einstein, and the university intelligent enough to attract this young master is certain to reap great honour.

Your most devoted colleague,

Poincaré


From Marie Curie:
Paris, November 17, 1911

Dear Sir,

I have just received your letter, in which you asked for my personal impression of Mr. Einstein, whom I recently had the pleasure to meet. You also say that Mr. Einstein wishes very much to return to Zurich and could soon have the opportunity to do so.

I have often admired the papers published by Mr. Einstein on issues dealing with modern theoretical physics. Moreover, I believe that theoretical physicists agree that these papers are of the highest order. In Brussels, where I participated in a scientific conference in which Mr. Einstein also took part, I was able to appreciate the clarity of his mind, the extent of his documentation and the depth of his knowledge. If we consider that Mr. Einstein is still very young, we are right to have great hope in him, and to see him as one of the leading theoreticians of the future. I think that the scientific institution willing to give Mr. Einstein the work he desires, either by appointing him an existing chair or by creating for him the chair in the conditions he deserves, could be greatly honored by such a decision and would certainly be providing a great service to science.

If, by offering my opinion, I could by a small measure contribute to the solution desired by Mr. Einstein, I would be extremely pleased.

Accept, I beg of you, dear Sir, the assurance of my best wishes.

M. Curie

Faculty of Sciences, Paris
(General Physics Laboratory)


  • The Time Albert Einstein Asked Marie Curie A Letter Of Recommendation To Secure A Job
  • Henri Poincaré is often described as a polymath, and in mathematics as “The Last Universalist“, since he excelled in all fields of the discipline as it existed during his lifetime.
  • When Bertrand Russell was asked by a French politician who he thought the greatest man France had produced, he replied without hesitation, “Poincaré”. The politician was surprised that he’d chosen the prime minister Raymond Poincaré above the likes of Napoleon, Balzac. Russell replied, “I don’t mean Raymond Poincare but his cousin, “the mathematician, Henri Poincaré.”
  • Poincaré’s fame was so great, in fact, that just after World War I when the English philosopher Bertrand Russell was asked who was the greatest Frenchman of modern times he answered, “Poincaré,” without hesitation. Thinking he was referring to Raymond, Henri’s cousin who had become president of France, the questioner frowned. “No, not that Poincaré,” Russell said quickly. “Henri Poincaré”.
  • Isaac Newton and Albert Einstein are among the scientists who experienced their own annus mirabilis, a miraculous year of breakthroughs.
  • 1666 — The year of wonders: In 1666 Isaac Newton, aged 23, made revolutionary inventions and discoveries in calculus, motion, optics and gravitation. It was in this year that Newton was alleged to have observed an apple falling from a tree, and in which he in any case hit upon the law of universal gravitation (Newton’s apple). He was afforded the time to work on his theories due to the closure of Cambridge University by an outbreak of plague.
  • Newton is not the only scientist said to have experienced a miraculous year of breakthroughs. Albert Einstein was 26 years old in 1905, when—while working as a patent office clerk in Bern, Switzerland, a job that he later said gave him time for thought experiments—he published four papers of major significance in the journal Annalen der Physik. They dealt with space, time, mass, and energy, topics that were central to the foundations of modern physics.
  • 1905 — Albert Einstein: It was in this year that Albert Einstein, aged 26, published important discoveries concerning the photoelectric effect, Brownian motion, the special theory of relativity, and the famous \(E = mc^2\) equation. His four articles, collectively known as his Annus Mirabilis papers, were published in Annalen der Physik in 1905.
  • Annus Mirabilis

Quantum hype

by John Polkinghorne

It seems appropriate to close this chapter with an intellectual health warning. Quantum theory is certainly strange and surprising, but it is not so odd that according to it ‘anything goes’. Of course, no one would actually argue with such crudity, but there is a kind of discourse that can come perilously close to adopting that caricature attitude. One might call it ‘quantum hype’. I want to suggest that sobriety is in order when making an appeal to quantum insight.

We have seen that the EPR effect does not offer an explanation of telepathy, for its degree of mutual entanglement is not one that could facilitate the transfer of information. Quantum processes in the brain may possibly have some connection with the existence of the human conscious mind, but random subatomic uncertainty is very different indeed from the exercise of the free will of an agent. Wave/particle duality is a highly surprising and instructive phenomenon, whose seemingly paradoxical character has been resolved for us by the insights of quantum field theory. It does not, however, afford us a licence to indulge in embracing any pair of apparently contradictory notions that take our fancy. Like a powerful drug, quantum theory is wonderful when applied correctly, disastrous when abused and misapplied.

© excerpted from Quantum Theory: A Very Short Introduction, chapter 6 Lessons and meanings

LeetCode SQL Questions

511. Game Play Analysis I

511. Game Play Analysis I

Transact-SQL

1
2
3
SELECT player_id AS 'player_id', MIN(event_date) AS 'first_login' 
FROM Activity
GROUP BY player_id

Submission Detail

  • 12 / 12 test cases passed.
  • Runtime: 2929 ms, faster than 51.13% of MS SQL Server online submissions for Game Play Analysis I.
  • Memory Usage: 0B, less than 100.00% of MS SQL Server online submissions for Game Play Analysis I.

584. Find Customer Referee

584. Find Customer Referee

Transact-SQL

1
2
SELECT CU.name FROM Customer AS CU 
WHERE CU.referee_id is null OR CU.referee_id <> 2

Submission Detail

  • 19 / 19 test cases passed.
  • Runtime: 972 ms, faster than 63.09% of MS SQL Server online submissions for Find Customer Referee.
  • Memory Usage: 0B, less than 100.00% of MS SQL Server online submissions for Find Customer Referee.

586. Customer Placing the Largest Number of Orders

586. Customer Placing the Largest Number of Orders

Transact-SQL

1
2
3
4
5
6
7
SELECT TOP 1 V.customer_number AS 'customer_number' FROM 
(
SELECT O.customer_number AS 'customer_number', COUNT(O.order_number) AS 'num'
FROM Orders AS O
GROUP BY O.customer_number
) AS V
ORDER BY V.num DESC

Submission Detail

  • 20 / 20 test cases passed.
  • Runtime: 779 ms, faster than 90.16% of MS SQL Server online submissions for Customer Placing the Largest Number of Orders.
  • Memory Usage: 0B, less than 100.00% of MS SQL Server online submissions for Customer Placing the Largest Number of Orders.

607. Sales Person

607. Sales Person

Transact-SQL

1

1
2
3
4
5
6
7
SELECT SP.name AS 'name' FROM SalesPerson AS SP 
WHERE SP.sales_id NOT IN
(
SELECT O.sales_id FROM Company AS C
JOIN Orders AS O ON O.com_id = C.com_id
WHERE C.name = 'RED'
)

Submission Detail

  • 20 / 20 test cases passed.
  • Runtime: 2418 ms, faster than 5.03% of MS SQL Server online submissions for Sales Person.
  • Memory Usage: 0B, less than 100.00% of MS SQL Server online submissions for Sales Person.

2

1
2
3
4
5
6
7
8
9
SELECT SP.name AS 'name' FROM SalesPerson AS SP 
LEFT OUTER JOIN
(
SELECT O.sales_id, O.order_id FROM Company AS C
JOIN Orders AS O ON O.com_id = C.com_id
WHERE C.name = 'RED'
) AS V
ON SP.sales_id = V.sales_id
WHERE V.order_id IS NULL

Submission Detail

  • 20 / 20 test cases passed.
  • Runtime: 859 ms, faster than 96.62% of MS SQL Server online submissions for Sales Person.
  • Memory Usage: 0B, less than 100.00% of MS SQL Server online submissions for Sales Person.