In 2D arrays
we need to give fixed size to columns whenever we make a function.
for ex : arr[][4];
but why ?
-> bcos the compiler calculates the address ,
formula = address = base + (i * col + j) * sizeof(int);
so here we need the value of column.👍
#programming_humor#DSA
hello👋
Difference between the string and character array:
String : std::string belongs to the C++ standard library.
-> internally not requires null terminator.
Character Array : A raw array of characters.
-> requires null terminator.
ok byee😉
STL isn’t a library. It’s a way of life for every C++ dev 🧘♂️
For vector -> vector<int> v;
list -> list<int> l;
deque -> deque<int> d;
so the general syntax is ->
name of data structure <datatype> variable name;
done👍
#CodingChallenge#DSA#Trending
Take a sorted array. Now break it at any point and flip the pieces.
Boom — you’ve got a rotated array.
Example:
[1, 2, 3, 4, 5] → [4, 5, 1, 2, 3]
Used in binary search puzzles.
Know the pivot. Crack the logic. 🔁⚙️
#DSA#100DaysOfCode#Coding
First concept that made me feel like a real coder: Arrays
You go from printing one number to managing 100 with a loop.
It’s where the confidence begins 💪
#DSA#Leetcode#DEVCommunity#CodingJourney#Tweets
#Day1
What is an Array ?
-> when we want to store multiple values of same type , array is the solution.
-> it stores elements/data in contiguous memory locations.
Done👍
#debugging#CodingChallenge#LeetCode#consistency
switch(expression)
{
cases:
break;
default;
}
switch cases:
here, expression is compared with cases , if it matches print the output & if it not default will run.
Done👍
#100DayChallenge#DevCommunity#CodingJourney#consistency
Data Structures are the tools 🧰
Algorithms are the instructions 🧠
Together, they solve problems efficiently!
Let’s master the basics one step at a time.
i am also facing difficulties while solving but consistency is the key of success.
💪
#DSA#Consistency#CodingLife 😉
475K Followers 75 FollowingFounder of @NPDigital. New York Times bestselling author, Forbes top 10 marketer, and creator of 1 of the 100 most brilliant companies by Entrepreneur Magazine.
524K Followers 18 FollowingFollow us to join conversations on how to #NavigateYourNext! We help clients navigate transformation with #AI powered core, #AgileDigital & lifelong #Learning
108K Followers 3K FollowingI run the most automated org on earth,
using the AI Agents I built.
@unicornplatform
@indexrusher
@listingbott
@seobotai
https://t.co/QIghafVlCy
24 startups → https://t.co/1ML5MmAQ7X
9K Followers 17 Followinglocal open source AI agent that automates complex developer tasks, is LLM-agnostic, integrates with MCP, and is available in both Desktop and CLI
7.9M Followers 13 FollowingBitcoin is an open source censorship-resistant peer-to-peer immutable network. Trackable digital gold. Don't trust; verify. Not your keys; not your coins.
4.0M Followers 0 FollowingThe universal platform for crypto, blockchain apps, stablecoins & decentralized tech. An account about the Ethereum ecosystem maintained by @ethereumfndn.
947K Followers 158 FollowingWe're a community of millions of people who are building new skills and getting new jobs together. A 501(c)(3) public charity. Tweets by @abbeyrenn.
316K Followers 3K FollowingThe Twitter account that launched https://t.co/TJyCu2S5ZF. Built on @forem 🌱
On Bluesky @/https://t.co/TJyCu2S5ZF
No DMs — please email us for support!
357K Followers 2K Following👨⚕️ Doctor-turned-Entrepreneur + Productivity Expert + YouTuber (6M+ Subs) ✍️ I share evidence-based strategies and tools to help you build a life you love 🚀
143K Followers 2K Followingvery greek accent. general partner & cto @paradigm. ceo @ithacaxyz. optimist and rustacean 🦀 // team lead of reth, foundry, alloy. join us.
113K Followers 612 FollowingVP Eng, AI Tools & Enablement | International Keynote Speaker | Java Champion | GitHub Star | Inventor {27 patents} | Working on AI agents and MCP @blocks
714K Followers 4K FollowingWe don’t just imagine the future. We build it. 🤝
We create with technologists, developers, engineers and our partners to build a smarter world. 🌎
73K Followers 625 Followingex - quit to bootstrap https://t.co/OTHKhGcWrU to 100K MRR https://t.co/BaMlf8oBGj → speed up ur webdev game https://t.co/EpRflP3CGs → SHIP!!!
601K Followers 176 FollowingSharing links, news, and humor about JS, TypeScript, and related front-end stuff 💛
Not affiliated with Oracle or Larry Ellison.