Coding Interviews
Subsets / Power-set Problem
In the Subsets problem, we find the power set of a given input using bitwise operations. In general, if we have n elements then the subsets are 2^ānāā subsets.
I am a software aspirant turned blogger, writing about software learning platforms, programming language syntaxes and best resources.
Coding Interviews
In the Subsets problem, we find the power set of a given input using bitwise operations. In general, if we have n elements then the subsets are 2^ānāā subsets.
Coding Interviews
For the monotonic increasing array, we need to check if the previous index is less than the current index. And for the monotonic decreasing array, we need to check if the previous index is greater than the current index.
Coding Interviews
Check Kth bit either '1' or '0'
React
Building a React To-Do app with React Hooks is a great way to learn how to use React Hooks in your projects.
Coding Interviews
What is Big O Notation? Why it is Important For Coding Interviews?
React
React Hooks were introduced in React 16.8 to allow functional components to manage state and side effects. They provide a way to use stateful logic without writing a class component.
Coding Interviews
Java Program for Longest Substring Without Repeating Characters Solution - LeetCode
LeetCode
Java Program for Add Two Numbers Solution - LeetCode
Coding Interviews
Java Program for Two Sum Solution - LeetCode
Coding Interviews
Two Sum problem is a classic problem. Let us solve this using five different types from brute force to an optimized approach using Hashtable.