Coding Interview Resources
This channel contains the free resources and solution of coding problems which are usually asked in the interviews. Managed by: @love_data
نمایش بیشتر📈 تحلیل کانال تلگرام Coding Interview Resources
کانال Coding Interview Resources (@crackingthecodinginterview) در بخش زبانی انگلیسی بازیگری فعال است. در حال حاضر جامعه شامل 52 248 مشترک است و جایگاه 2 474 را در دسته فناوری و برنامهها و رتبه 6 815 را در منطقه الهند دارد.
📊 شاخصهای مخاطب و پویایی
از زمان ایجاد در невідомо، پروژه رشد سریعی داشته و 52 248 مشترک جذب کرده است.
بر اساس آخرین دادهها در تاریخ 26 اوت, 2026، کانال فعالیت پایداری دارد. در ۳۰ روز گذشته تغییر اعضا برابر 31 و در ۲۴ ساعت گذشته برابر -3 بوده و همچنان دسترسی گستردهای حفظ شده است.
- وضعیت تأیید: تأیید نشده
- نرخ تعامل (ER): میانگین تعامل مخاطب 1.85% است و در ۲۴ ساعت نخست پس از انتشار، محتوا معمولاً 0.76% واکنش نسبت به کل مشترکان کسب میکند.
- دسترسی پستها: هر پست به طور میانگین 966 بازدید دریافت میکند. در اولین روز معمولاً 398 بازدید جمعآوری میشود.
- واکنشها و تعامل: مخاطبان بهطور فعال حمایت میکنند؛ میانگین واکنش به هر پست 2 است.
- علایق موضوعی: محتوا بر موضوعات کلیدی مانند array, stack, algorithm, programming, sort تمرکز دارد.
📝 توضیح و سیاست محتوایی
نویسنده این فضا را محل بیان دیدگاههای شخصی توصیف میکند:
“This channel contains the free resources and solution of coding problems which are usually asked in the interviews.
Managed by: @love_data”
به لطف بهروزرسانیهای پرتکرار (آخرین داده در تاریخ 27 اوت, 2026)، کانال همواره بهروز و دارای دسترسی بالاست. تحلیلها نشان میدهد مخاطبان بهطور فعال با محتوا تعامل دارند و آن را به نقطه اثرگذاری مهم در دسته فناوری و برنامهها تبدیل کردهاند.
function findDuplicates(arr) {
const seen = new Set();
const dups = new Set();
for (let num of arr) {
if (seen.has(num)) dups.add(num);
else seen.add(num);
}
return Array.from(dups);
}
Space optimized: Sort O(n log n) then scan adjacent equals.
📈 5️⃣ What is binary search and when would you use it?
✅ Answer:
Binary search finds target in sorted array in O(log n) by repeatedly dividing search interval in half:
mid = (left + right) / 2
If arr[mid] == target return mid
If arr[mid] < target search right half
Else search left half
Use when: Data naturally sorted or sorting cost acceptable. Iterative version avoids recursion stack overflow.
📊 6️⃣ How do you reverse a linked list?
✅ Answer:
Iterative O(n) solution flipping next pointers:function reverseList(head) {
let prev = null, curr = head;
while (curr) {
let nextTemp = curr.next;
curr.next = prev;
prev = curr;
curr = nextTemp;
}
return prev;
}
Recursive: reverseList(curr.next).then(curr.next.prev = curr, curr.next = null).
📉 7️⃣ What is recursion and why is the base case important?
✅ Answer:
Recursion is a function calling itself with modified arguments until base case stops it. Without base case → stack overflow.
Example Fibonacci:function fib(n) {
if (n <= 1) return n; // Base case
return fib(n-1) + fib(n-2);
}
Memoization optimizes overlapping subproblems.
📊 8️⃣ How do you merge two sorted arrays?
✅ Answer:
Two-pointer technique O(n+m):function mergeSorted(a1, a2) {
let i=0, j=0, result = [];
while (i < a1.length && j < a2.length) {
if (a1[i] < a2[j]) result.push(a1[i++]);
else result.push(a2[j++]);
}
return result.concat(a1.slice(i)).concat(a2.slice(j));
}
Handles unequal lengths cleanly.
🧠 9️⃣ How do you detect a cycle in a linked list?
✅ Answer:
Floyd's Tortoise & Hare: Slow moves 1 step, fast moves 2. If they meet → cycle.
To find start: Reset slow to head, move both 1 step until meet.function hasCycle(head) {
let slow = head, fast = head;
while (fast && fast.next) {
slow = slow.next;
fast = fast.next.next;
if (slow === fast) return true;
}
return false;
}5 == '5' is true, but 5 === '5' is false.
3️⃣ Q: Explain the Box Model in CSS.
A: The CSS Box Model consists of:
- *Content* → The actual text/image
- *Padding* → Space around content
- *Border* → Around the padding
- *Margin* → Space outside the border
4️⃣ Q: What are the different HTTP methods?
A: Common methods:
- *GET* → Retrieve data
- *POST* → Send data
- *PUT* → Update existing data
- *DELETE* → Remove data
5️⃣ Q: What is the difference between null and undefined in JavaScript?
A:
- null → Assigned value meaning “no value”
- undefined → A variable that has been declared but not assigned a value
6️⃣ Q: What is responsive design?
A: It makes web pages look good on all devices (mobile, tablet, desktop) using CSS media queries and flexible layouts.
7️⃣ Q: What is the role of JavaScript in web development?
A: JavaScript adds interactivity to web pages — like dropdowns, sliders, form validation, etc.
8️⃣ Q: What is DOM?
A: The Document Object Model represents the page structure in a tree format, allowing JavaScript to interact with and manipulate HTML/CSS dynamically.
👍 Tap ❤️ for more!