GoJek iOS Interview Experience and Question
Round 1 - Profile Selection Go-Jek HR contacted me via LinkedIn. After expressing my interest in the position HR set up a quick phone call. In this call,
OYO Web Developer Interview Experience and Question
Round 1 - Profile Selection (Online) * Write a polyfill for bind function. * Given an expression string exp, write a program to examine whether the pairs and the orders of
58 JavaScript Interview Questions for Frontend Developer
JavaScript Questions * Explain event delegation. * Explain how this works in JavaScript. * Can you give an example of one of the ways that working with this has changed in
HTML and CSS Interview Question for Frontend Developer
HTML Interview Questions * What does a doctype do? * How do you serve a page with content in multiple languages? * What kind of things must you be wary of
20 General Technical Interview Questions for Experienced Developers
1. What is the most challenging task you've ever done? 2. What is your favorite project you've ever done? 3. What are some things
GoJek Parking Lot Assignment using Python
1. Problem Statment Design a Parking lot which can hold n Cars. Every car been issued a ticket for a slot and the slot been assigned based on
What is the difference between const int * and int const *?
One simple answer - read it backwards (as driven by Clockwise/Spiral Rule). * int * ptr - ptr is a pointer to int * int const * ptr - ptr is a pointer to
Why does the indexing of Array start with Zero in C?
Martin Richards, creator of the BCPL language (a precursor of C), designed arrays initiating at 0 as the natural position to start accessing the array contents in the
What does the C ??!??! operator do?
??! is a trigraph that translates to |. So it says: if(a || b){ ... }else{ ... } So, what is digraphs and trigraphs? In computer programming, digraphs and trigraphs are sequences of
Why in C language is it the case that a[5] == 5[a]?
The C standard defines the Array Subscript Operator [] as follows: a[b] == *(a + b) Therefore a[5] will evaluate to: *(a + 5) and 5[a] will evaluate to:
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
This is because of padding added to satisfy alignment constraints. Data structure alignment impacts both performance and correctness of programs. Here's an example using typical settings
Why is one loop so much slower than two loops?
Suppose a1, b1, c1, and d1 point to heap memory and code has the following loop. const int n=100000; for(int j=0;j<n;j+