🚀Java Collection Interview Questions
1⃣What is a Stack?
👉A LIFO structure for adding,removing from the top.
2⃣ArrayList vs Vector?
👉ArrayList is unsynchronized, Vector is synchronized.
3⃣What is a Queue?
👉 FIFO collection for adding,removing elements.
#Java#Javaisawesome
Calculate percentiles in #SQL with
PERCENTILE_CONT ( <percentile> ) WITHIN GROUP ( ORDER BY <col> )
@vlad_mihalcea shows you how to use this to get the median (50th), 75th, 95th, and 99th percentiles of the S&P 500 index across years or per year
https://t.co/btF0D81i3Y
Local first software is focused on user experience:
7 offline first ideals:
1. No spinners. Your data should be local.
2. Your work isn’t trapped on one device. Your work should sync across all devices and be available on all your devices.
3. Network optional.
4. Seamless collaboration with colleagues.
5. Should work long-term. Also known as “The long now.”
6. Security and privacy by default.
7. Users maintain ownership and control.
I’ve interviewed more millionaires than I can count.
I always ask them to share their lessons on creating a world-class company culture.
Here's what they told me:
Happy birthday, old friend! @java is only 27, but it’s already lived an amazing life:
- spawned numerous times (C#, Kotlin, Scala, Groovy, etc.)
- it’s lived multiple places (cloud, server, desktop, mobile)
- graduated from interpreted to JIT’d to natively compiled