
Gulshan Singh
@Gulshanchandr7
Followers
5
Following
94
Media
31
Statuses
61
Aspiring software engineer with a https://t.co/Ltm1rngPy2 in IT (CGPA: 7.81). Skilled in Java, React, and C++, with 450+ LeetCode problems solved and a 1444 CodeChef rat.
Delhi (NCR)
Joined October 2024
Alternating Groups .#leetcode3208.The algorithm tracks alternating color groups with a sliding window of size k, counting valid subarrays and shrinking the window by incrementing left to find all possible groups in the circular array.
leetcode.com
Can you solve this real interview question? Alternating Groups II - There is a circle of red and blue tiles. You are given an array of integers colors and an integer k. The color of tile i is...
0
0
1
Minimum recolors to get K consec. black block. #Leetcode.Iterate over substrings of length k, count 'W' blocks, track the minimum recolors, and return the smallest count. 🚀. Keep track of the minimum number of recolors required across all substrings.
leetcode.com
Can you solve this real interview question? Minimum Recolors to Get K Consecutive Black Blocks - You are given a 0-indexed string blocks of length n, where blocks[i] is either 'W' or 'B', represent...
0
0
1
♨️Closest prime number in a range .1⃣ Find Primes: Loop through [left, right] and store primes. 2⃣ Find Closest Primes: Track smallest difference between consecutive primes. 3⃣ Return Result: Return closest primes or [-1, -1]. #leetcode.
leetcode.com
Can you solve this real interview question? Closest Prime Numbers in Range - Given two positive integers left and right, find the two integers num1 and num2 such that: * left <= num1 < num2 <=right...
0
0
2
concise approach:. 1. Iterate while n > 0. 2.Compute remainder = n % 3. 3. If remainder == 2, return false. 4. Update n = n / 3 to process the next ternary digit. 5. If the loop completes, return true.
leetcode.com
Can you solve this real interview question? Check if Number is a Sum of Powers of Three - Given an integer n, return true if it is possible to represent n as the sum of distinct powers of three....
0
0
1
Wishing everyone a joyous and prosperous New Year!. 💥🎉🎊🎆🎇. ❇️Today is the first blank page of a 365 page book . Write a good 1. 🔜Strive to improve by 0.1% daily, achieving a 36.5% growth over the year. #Descpline #consistent.
0
0
1
Completed comprehensive Java #Fullstack training at @Qspiders,mastering technologies like CSS3, JavaScript, ReactJS, SpringBoot, Hibernate, REST APIs, and more. Developed hands-on projects to enhance my skills in building dynamic, scalable web applications. #ReactJS #SpringBoot
1
0
1
props in React #challenge #react.In React, props allow data to be passed from parent to child components, enabling dynamic and reusable UI elements. Proper use and management of props is crucial for building efficient React applications.
linkedin.com
500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
0
0
0
#Java Day1_challenges. Java 8 introduced lambda expressions, functional interfaces, and Streams API for concise, efficient code, along with default methods, Optional, and java.time API for enhanced flexibility and performance. Github-repo.
2
0
1
Java 8 introduced lambdas, functional interfaces, Streams API, default methods, Optional, java.time, and parallel streams for more concise, efficient, and flexible code. #coder #challenges #Java8features.
linkedin.com
500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
0
0
1
🚀 Excited to kick off my new 50-day #JavaChallenge! I'll be diving deep into core Java 8, JDBC API, Servlets, Hibernate ORM, JSP, Spring, Spring Boot, SQL and mastering the MVC design pattern. ! #Java #Coding #SpringBoot #Hibernate #BackendDevelopment.More update:
0
0
1
#Day18_challenges #startup #Website .Cravy is a sleek, modern food delivery website that connects users with nearby restaurants. The frontend project focuses on a user-friendly interface for browsing, ordering, and tracking meals in real time. Github-repo.
0
0
1