Coding interview preparation
Kanalga Telegramโda oโtish
Coding interview preparation for software engineers Daily interview questions, algorithms, data structures & clean solutions. Real interview tasks and problems. Join ๐ https://rebrand.ly/bigdatachannels DMCA: @disclosure_bds Contact: @mldatascientist
Ko'proq ko'rsatish5 856
Obunachilar
-124 soatlar
+117 kunlar
+1730 kunlar
Postlar arxiv
3. Once the calculations are completed, the real DOM updated with only those things which are changed.
2. Now, the difference between the previous DOM representation and the new DOM is calculated.
Virtual DOM works in three steps:
1. Whenever any data changes in the React App, the entire UI is re-rendered in Virtual DOM representation.
In C, if we pass an array as an argument to a function, what actually get passed?
What do you understand by Virtual DOM?
Think of the Virtual DOM like a draft version of your web page. Instead of changing the actual page (which is slow), React updates this lightweight copy first. Then, it smartly compares the draft with the real page and updates only the necessary parts kind of like editing a document without retyping the whole thing.
Result? Faster updates, smoother performance, and a better user experience! ๐
What is JSX?
JSX (JavaScript XML) is a special syntax in React that lets you write HTML-like code inside JavaScript. It makes your code more readable and intuitive because you can describe the UI directly in your JavaScript code.
Why is JSX useful?
โ
Easier to write & read โ Looks like HTML but works inside JavaScript.
โ
More powerful than HTML โ You can use variables, functions, and logic directly inside JSX.
โ
Optimized by React โ JSX gets converted into super-efficient JavaScript calls behind the scenes.
Example of JSX in action:
const name = "Borislav";
const element = <h1>Hello, {name}!</h1>;
๐ Here, {name} is a JavaScript variable inside JSX!
JSX is not HTML โ it's just syntactic sugar for React.createElement(). You must wrap elements properly (e.g., use one parent tag).
Want to build awesome React apps? JSX is the way to go! ๐ฅWhat was the original name of JavaScript when it discovered?
SQL EXECUTION ORDER
SQL Doesnโt Run the Way You Think It Does!
Most people assume SQL runs top to bottomโ
but in reality, the database follows a completely different process.
Hereโs what actually happens when you hit Run:
๐น FROM & JOIN โ First, SQL figures out where to pull the data from.
๐น WHERE โ Then, it filters out rows that donโt match your conditions.
๐น GROUP BY โ If needed, it groups the remaining rows together.
๐น HAVING โ Now, it filters those groups (not individual rows).
๐น SELECT โ Finally, it picks the columns you asked for.
๐น ORDER BY โ It sorts the result.
๐น LIMIT โ At the very end, it restricts the output.
Why does this matter?
โคท You canโt use column aliases in WHERE
because SELECT runs later.
โคท Filtering after grouping (HAVING)
is less efficient than filtering before (WHERE).
โคท Understanding this helps you write faster, better queries.
Most analysts assume SQL reads queries like English.
โ
But databases have their own logicโand mastering it makes
you a 10x better analyst!
Common Data Structure Operations and
Array Sorting Algorithms
It could be useful to have it as a cheat sheet
Repost from Web development
+4
5 Valuable Web Development cheat sheets ๐
Explanation:
Stack follows Last In First Out (LIFO) policy. Piling up of chairs one above the other is based on LIFO, people standing in a line is a queue and if the service is based on priority, then it can be associated with a priority queue. Tatkal Ticket Booking Follows First in First Out Policy. People who click the book now first will enter the booking page first.
Endi mavjud! Telegram Tadqiqoti 2025 โ yilning asosiy insaytlari 
