/* Implement a function that copies from src to dst, for example:
[ab] [cde] [efghijklmn] -> [abc] [defghijklmn].
The function returns the number of copied args.
*/
typedef struct {
void* memory_pointer;
int memory_length;
} memory_segment_t;
int memory_segment_copy(memory_segment_t* src_arr, unsign int src_seg_cnt,
memory_segment_t* dst_arr, unsign int dst_seg_cnt)
{
// implement your answer here
}
* A **LeetCode Medium coding question**, where I was asked to explain my approach, implement the solution, and discuss the complexity.
* A **“Tell me about yourself”** question, where I gave an overview of my background and professional experience.
* A **behavioral question** about a situation where I disagreed with someone at work. I explained the situation, the disagreement, how I communicated my point of view, and how we eventually handled it professionally.
Overall, the interview focused on both **technical problem-solving** and **Amazon-style behavioral questions**.
נתנו מעגל חשמלי פשוט וביקשו לחשב הספק על אחד הנגדים , זרם באחד הענפים (לא משהו קשה)
עוד שאלה שזכורה לי שביקשו להחליף את הערך של שני משתנים מבלי להשתמש במשתנה עזר