C – Multiply integers without using multiply operation
Sometimes we need to write code that should be very fast. Normally multiply/divide instructions are not so fast in C as compared to plus/minus instruction. Today, we will learn to…
Sometimes we need to write code that should be very fast. Normally multiply/divide instructions are not so fast in C as compared to plus/minus instruction. Today, we will learn to…
"Volatile" is a qualifier in C. It is intended to prevent the optimization of the object that can change in manners that cannot be determined by compiler. The best example…
Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).
Given a string s, find the length of the longest substring without repeating characters.
NOTE: This problem is generated by LeetCode. TakeTheNotes has given only solution for educational purpose. Problem Name: Add Two Numbers Description: You are given two non-empty linked lists representing two…
NOTE: This problem is generated by LeetCode. TakeTheNotes has given only solution for educational purpose. Problem Name: Two Sum Description: Given an array of integers nums and an integer target, return indices of the…