Setup VS Code for GoLang
Install Visual Studio Code from website:https://code.visualstudio.com/download Go to view > Extensions > Search Go. You will find an extension from Go Team at Google. Click on install. 3. After installing … Read More
Install Visual Studio Code from website:https://code.visualstudio.com/download Go to view > Extensions > Search Go. You will find an extension from Go Team at Google. Click on install. 3. After installing … Read More
Step 1: Download Golang package Go to https://go.dev/doc/install to download latest package according to OS (Linux, Mac, Windows) Step 2: Install the package Step 3: Verify installation In the terminal … Read More
3. Add Two Numbers LinkedList You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add … Read More
You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one sorted list. The list should be made by splicing together the nodes of the first … Read More
Given a string s containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. … Read More
Running command : .\bin\windows\kafka-topics.bat –create –zookeeper localhost:2181 –replication-factor 1 –partions 1 –topic TestTopic will give error: Root cause:Newer versions(2.2 and above) of Kafka no longer require ZooKeeper connection string ie –zookeeper … Read More
Pre – requistits To install Apache Kafka on Mac, Java is the only prerequisite. java -version Step 1: Download binaries Download the latest Apache Kafka from [https://kafka.apache.org/downloads] under Binary downloads. Step 2: … Read More
Problem Statement In a special ranking system, each voter gives a rank from highest to lowest to all teams participating in the competition. The ordering of teams is decided by … Read More
A column-oriented DBMS or columnar DBMS is a database management system that stores data tables by column rather than by row, which makes it suitable for analytical query processing, and thus for data warehouses … Read More
We have n jobs, where every job is scheduled to be done from startTime[i] to endTime[i], obtaining a profit of profit[i]. You’re given the startTime, endTime and profit arrays, return the maximum profit you can take such that there are no … Read More